Having scale that changes on same axis

조회 수: 3 (최근 30일)
Ryan Bailey
Ryan Bailey 2021년 5월 12일
답변: Walter Roberson 2021년 5월 12일
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
Walter Roberson
Walter Roberson 2021년 5월 12일
Have you experimented with using log scale?
Ryan Bailey
Ryan Bailey 2021년 5월 12일
I have changed axis to log scale but the graph appears in a way that I don't want

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2021년 5월 12일
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.

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by