Code covered by the BSD License  

Highlights from
Break Bar Plot

1.75

1.8 | 4 ratings Rate this file 22 Downloads (last 30 days) File Size: 1.95 KB File ID: #14308
image thumbnail

Break Bar Plot

by

 

16 Mar 2007 (Updated )

Add breaks in the bar plot

| Watch this File

File Information
Description

This code is derived from BreakAxis matlab file. Basically it adds a 'scale' parameter to reduce the bar sizes in a bar plot. Higher values of scale will reduce the 'tall bars' more.

Acknowledgements

Break Axis inspired this file.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
08 May 2013 Luc Curry

Does not generate a plot with no data specified.

Error using BarPlotBreak (line 42)
Not enough input arguments.

Could the standard value for 'scale' be missing?

19 Dec 2012 Sam

Cool, and I plan to turn this into a histogram version at some point. One note — delete line 56 to have the function actually listen to your choice for break_type. As it is now, it always sets break_type = 'Patch'.

25 Oct 2012 Xiu

Does this function work for matrix Y? Or does it only work with vector? I tried with matrix, but it gave me error in the break type section of the code. Also, what if the data I have got negative values, and they are the part I want to scale to reduce the space, what should I do with that?

02 Jun 2012 or dsad  
07 Sep 2011 Sebastian

unfortunately not working as described. Buggy. Would be nice to have though!

25 Nov 2008 Céline

hello,

I have a problem with you program. I don't arrive to make my graph with a break. The line aren't on the y axis but on the plot. Could you explain me how to do?

Contact us