break Y axis

Version 1.0.0.0 (654 Bytes) by Mark
Breaks the Y-axis so that the x-axis will cross the y-axis at 0 and continues at any number
2.6K Downloads
Updated 10 Dec 2008

No License

This routine just adds 2 yTicks at the bottom of the y-axis
First added ytick will be assigned 0
Second y-tick are two almost horizontal lines to break up the y-axis

EXAMPLE
plot (rand(21,1)+50)
breakYaxis

Please if you have any comments, don't hesitate

Cite As

Mark (2026). break Y axis (https://www.mathworks.com/matlabcentral/fileexchange/22378-break-y-axis), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Axis Labels in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0