distortion of Y axis

5 visualizaciones (últimos 30 días)
Mini Me
Mini Me el 29 de Abr. de 2013
I’m wondering if there’s a way to distort the Y axis and have a portion of it on a different scale. Say the axis is from -100 to 100 and you want to distort part of the axis from 0 to 50 and have that on a different scale. Reason I want to do this is because I have a plot that has numerous Y values and one X value and the Y values are somewhat closed to each other resulting in them overlapping. I’m not sure if that the right way to go about it as for axis distortion goes. Or is another way to go about this. Keep in mind I’m plotting different Y values Vs one X value which causes the overlapping since the Y values are closed to each other. I have about 20 data points in the center of my Y axis that I want to spread out so I can see clearly. The manual zoom in does not do it for, same for YTick and axis([ ]).

Respuestas (2)

Shashank Prasanna
Shashank Prasanna el 29 de Abr. de 2013
  2 comentarios
Mini Me
Mini Me el 29 de Abr. de 2013
doesnt help since im plotting against one X value...
Walter Roberson
Walter Roberson el 29 de Abr. de 2013
That doesn't matter. The points that are to be regular spacing, you plot on one of the axes, and the points that are to be spread apart, you plot on the second axes. You can also pull plotyyy out of the file exchange if that makes it easier to have the three parts (below the center, in the center, above the center)

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 29 de Abr. de 2013
You might find the FEX contribution breakplot to be useful.

Categorías

Más información sobre Data Exploration 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