if i plot point(x) in a graph how can i remove it from graph

 採用された回答

Wayne King
Wayne King 2012 年 3 月 25 日

1 投票

plot(randn(100,1));
hold on;
h = plot(5,3.5,'k*');
%%%then
reset(h)

3 件のコメント

mohamed  al-asklany
mohamed al-asklany 2012 年 3 月 27 日
reset(h) clear all graph i want to clear this point only of graph
Ronald Kaptein
Ronald Kaptein 2012 年 3 月 27 日
Use delete(h) instead of reset(h)
mohamed  al-asklany
mohamed al-asklany 2012 年 3 月 29 日
if i want to move line in circular graph?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by