how to move a plot?

4 visualizaciones (últimos 30 días)
Tony Castillo
Tony Castillo el 24 de Oct. de 2016
Comentada: Nava Subedi el 29 de Nov. de 2018

Respuesta aceptada

Adam
Adam el 24 de Oct. de 2016
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 comentarios
Tony Castillo
Tony Castillo el 24 de Oct. de 2016
Thank you so much!...
Nava  Subedi
Nava Subedi el 29 de Nov. de 2018
What is the code of that moving? I need to move only one plot out of two.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by