採用された回答

Adam
Adam 2016 年 10 月 24 日

0 投票

You can edit the 'XData' property of the line object if you have its handle. If you didn't keep its handle you can search for it with a findobj or by looking at the 'Children' of the axes object.
Obviously it is easier to just plot it with the x data changed in the first place, but if that is not possible then post-editing the 'XData' works the same.

2 件のコメント

Tony Castillo
Tony Castillo 2016 年 10 月 24 日
Thank you so much!...
Nava  Subedi
Nava Subedi 2018 年 11 月 29 日
What is the code of that moving? I need to move only one plot out of two.

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

その他の回答 (0 件)

カテゴリ

質問済み:

2016 年 10 月 24 日

コメント済み:

2018 年 11 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by