You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
breakyaxis([minYvalue,maxYvalue])
Splits the y axis into two separate regions to avoid unnecessary blank space. The split interval is determined by the y-axis values minYvalue and maxYvalue
Example:
a=20*rand(21,1)+10;
figure;hold on;
plot(a);
breakyaxis([14 21]);
Cite As
MikeCF (2026). Break Y Axis (https://se.mathworks.com/matlabcentral/fileexchange/45760-break-y-axis), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0.0 (11.7 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
