breaking the x axis also you can convert it to break y axis, easly.
a = .1:.01:10;
b= sin(a);
subplot(2,1,1);
plot(a,b)
graphic2 = gca;
subplot(2,1,2);
BreakXAxisv2(a',b',2,7,graphic2)
Cite As
Mustafa Codur (2026). break and flop along axis (https://www.mathworks.com/matlabcentral/fileexchange/68878-break-and-flop-along-axis), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
