How do I create multiple parallel lines
古いコメントを表示
How do I create parallel lines in a certain interval like in the picture? I am pretty sure I can use line() but I have not managed to understand how.

採用された回答
その他の回答 (1 件)
Image Analyst
2018 年 9 月 15 日
If you're not fussy about the way the lines look, you can simply call
grid on;
Also, if you want the x and y axis in there at the right place, instead of outside the plotting box, you can do
ax = gca
ax.XAxisLocation = 'origin';
ax.YAxisLocation = 'origin';
カテゴリ
ヘルプ センター および File Exchange で Graphics Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
