bar graph with broken y-axis

49 views (last 30 days)
Tim Gordon
Tim Gordon on 15 Nov 2011
Answered: KAE on 1 Jun 2022
Does anyone have code for creating a vertical bar graph with a broken y-axis?

Answers (4)

Tim Gordon
Tim Gordon on 10 Dec 2011
Yes, I want to do what I asked about.

Walter Roberson
Walter Roberson on 15 Nov 2011
  1 Comment
Tim Gordon
Tim Gordon on 15 Nov 2011
Nope. This only seems to work for scatter plots. I want a vertical bar plot.

Sign in to comment.


Daniel Shub
Daniel Shub on 16 Nov 2011
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
KAE on 1 Jun 2022

Categories

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!