Having scale that changes on same axis
4 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Walter Roberson
on 12 May 2021
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.
0 Comments
See Also
Categories
Find more on Graphics Object Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!