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!
