Break Y Axis

版本 1.2.0.0 (11.7 KB) 作者: MikeCF
Splits the y axis hiding values within a given range
14.0K 次下载
更新时间 2014/3/6

查看许可证

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]);

引用格式

MikeCF (2024). Break Y Axis (https://www.mathworks.com/matlabcentral/fileexchange/45760-break-y-axis), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Axes Appearance 的更多信息
致谢

参考作品: BreakAxis, BreakPlot, Break X Axis

启发作品: Aesethetic Axis Breaks

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Example

1.1.0.0

Example

1.0.0.0