채택된 답변

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