Problem with Plot function.
古いコメントを表示
I would like to plot two pairs of values on a single graph with line specifications and somehow im shown the error.
plot(t,y1,2,'b',t,y2,2,'k-.')
回答 (1 件)
Rik
2021 年 12 月 14 日
0 投票
You have added ',2' twice. If you remove those, it should be a valid syntax.
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
