bar graph with broken y-axis

49 ビュー (過去 30 日間)
Tim Gordon
Tim Gordon 2011 年 11 月 15 日
回答済み: KAE 2022 年 6 月 1 日
Does anyone have code for creating a vertical bar graph with a broken y-axis?

回答 (4 件)

Tim Gordon
Tim Gordon 2011 年 12 月 10 日
Yes, I want to do what I asked about.

Walter Roberson
Walter Roberson 2011 年 11 月 15 日
  1 件のコメント
Tim Gordon
Tim Gordon 2011 年 11 月 15 日
Nope. This only seems to work for scatter plots. I want a vertical bar plot.


Daniel Shub
Daniel Shub 2011 年 11 月 16 日
Are you sure you want to do this? In my opinion this rarely looks good and also is usually not the best way to convey information. What about an insert plot showing the small values? You cannot do this with standard MATLAB. You could play around with placing patches over the bars, but it is not going to look professional. I think you can do this with SigmaPlot.

KAE 2022 年 6 月 1 日


Find more on Graphics Performance 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!

Translated by