distortion of Y axis
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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([ ]).
0 commentaires
Réponses (2)
Shashank Prasanna
le 29 Avr 2013
PLOTYY lets you have 2 Y axes:
2 commentaires
Walter Roberson
le 29 Avr 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)
Voir également
Catégories
En savoir plus sur Data Exploration dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!