Line function overwriting previous lines
古いコメントを表示
I'm trying to plot simple horizontal and vertical lines in MATLAB to draw an MMI device design.
Here is part of the code:
line([0 L], [W/2 W/2]);
line([0 L], [-W/2 -W/2]);
line([0-dz 0], [-a -a]);
The first two lines work as expected. However, when I add the third line, it overwrites one of the previous lines, and moves one of the other lines to zero.
What can I do to fix this overwriting process?
Thanks.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Image Arithmetic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!