How to break x-axis?

4 ビュー (過去 30 日間)
Tj R
Tj R 2013 年 9 月 6 日
I have data in 2 columns as in the following way to plot.
x-axis : 2 4 6 8 12 infinity
y-axis : 0.5 0.7 0.8 1.2 1.5 1.7
I need a break in x-axis after 12 and before infinity in x-axis. How can i break the x-axis. Please help me in this issue.
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 9 月 6 日
What does that mean?

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 9 月 6 日
There is a File Exchange contribution named something like breakaxis . I doubt, though, that you could use it to draw at "infinity". Draw at a large number and label it "infinity" perhaps.
  2 件のコメント
Tj R
Tj R 2013 年 9 月 6 日
I need to show the axis break in the plot. What i mentioned the values above are for example. Is there any way to the axis break. Thank you very much for your help.
Walter Roberson
Walter Roberson 2013 年 9 月 6 日
There is no method supplied in MATLAB to break an axis. However, the contribution I mentioned earlier fakes it for you.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGrid Lines, Tick Values, and Labels についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by