How to set line style and color of a line?
3 ビュー (過去 30 日間)
古いコメントを表示
I can draw a line with the command line(0,10,5,5), but how to set line style and color?
0 件のコメント
回答 (1 件)
Sean de Wolski
2015 年 5 月 28 日
line([0,10],[5,5],'LineStyle',':','Color','r')
And for more info
doc line
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!