how can i extract a portion of graph in linear axis?

1 visualización (últimos 30 días)
Mustafa Codur
Mustafa Codur el 27 de Jul. de 2018
Respondida: Mustafa Codur el 21 de Sept. de 2018
Can i plot a graph like the followed figure?
-- x axes is linear but a portion is missing.
  1 comentario
Adam
Adam el 27 de Jul. de 2018
Editada: Adam el 27 de Jul. de 2018
I think you'd probably have to use two distinct axes to do that. You can position them right next to each other and remove the y axis ticks and line from the right-hand one, etc and use linkaxes in the y direction if you want to allow zooming.
Alternatively you could fake it by changing the axis tick labels and plotting the 2nd part from 800, but labelling its ticks as you want them, but that is not a great solution if you need to interact with the graph in any way with e.g. data cursor.

Iniciar sesión para comentar.

Respuestas (1)

Mustafa Codur
Mustafa Codur el 21 de Sept. de 2018

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by