BreakXAxis

Inserts < // > into a 'broken' or discontinuous x-axis.
12.7K Downloads
Updated 8 Jul 2003

View License

h=BreakXAxis(x,y,start,stop,width) plots (x,y) and breaks the plot's x-axis between <start> and <stop>, by inserting a broken-axis symbol < // > into a space <width> wide. This type of plot is often used in scientific papers, when the data between <start> and <stop> isn't interesting. The code can be easily modified (swap y for x) to break the y-axis.

Cite As

Julie Haas (2024). BreakXAxis (https://www.mathworks.com/matlabcentral/fileexchange/3683-breakxaxis), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Line Plots in Help Center and MATLAB Answers
Acknowledgements

Inspired by: BreakAxis

Inspired: Break X Axis

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