Having scale that changes on same axis
Afficher commentaires plus anciens
i am trying to adjust the scale for the beginning of the x -axis so i can better see the elastic region of the graph for a stress strain curve..
The graph is attached and you can see the elastic region (straight line) is difficult to see on the graph thus I only want to change the scale for just this part of the graph.
Cheers
2 commentaires
Walter Roberson
le 12 Mai 2021
Have you experimented with using log scale?
Ryan Bailey
le 12 Mai 2021
Réponses (1)
Walter Roberson
le 12 Mai 2021
0 votes
MATLAB does not have any support for changing a scale for only part of an axes. You will need to use a second plot.
Some people handle these kinds of situations by creating a second axes that overlays a part of the axes that does not have much of interest happening, such as in the 20 to 70 range, 0 to 0.2. On the other hand if you do that, you damage your ability to do pan and zoom.
Catégories
En savoir plus sur Stress and Strain dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!