Having scale that changes on same axis

4 ビュー (過去 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 Center および File ExchangeGraphics Object Properties についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by