image thumbnail

BreakXAxis

version 1.0.0.0 (1.64 KB) by Julie Haas
Inserts < // > into a 'broken' or discontinuous x-axis.

11.1K Downloads

Updated 08 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 (2021). 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
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!