Yes, I want to do what I asked about.
bar graph with broken y-axis
49 views (last 30 days)
Show older comments
Does anyone have code for creating a vertical bar graph with a broken y-axis?
Walter Roberson on 15 Nov 2011
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 on 1 Jun 2022
But, I agree with @Daniel Shub . Breaking the plot can mislead viewers.
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!