How can I delete a plot among many plot in one figure?
古いコメントを表示
Hi everyone,
I plot twice in one figure by using the hold on, but I find my 2nd plot is wrong. So I have to delete the 2nd plot, but I don't want delete the 1st one nor do I want to plot them again. Is there any methods?
Thanks a lot~~~
採用された回答
その他の回答 (1 件)
Wayne King
2012 年 9 月 21 日
編集済み: Wayne King
2012 年 9 月 21 日
Click "edit plot" -- the arrow next to the printer icon.
Then, click on the line you want to delete and then delete it.
Another way, is to click on the line you want to delete and then with that line selected.
>> h = gco;
>> delete(h)
3 件のコメント
tqy
2012 年 9 月 22 日
Orion Smedley
2022 年 12 月 6 日
As in on the menu bar with : " File Edit View Insert Tools Desktop Window Help"
That edit?
Doesn't seem to work.
Voss
2022 年 12 月 6 日
@Orion Smedley: "Edit Plot" is the first item under the "Tools" menu.
Wayne King was saying how to access it from the toolbar. It's a white arrow/pointer, and it's located in different places in different MATLAB versions.
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!