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 (2024). 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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0