Break Y Axis

Splits the y axis hiding values within a given range

您现在正在关注此提交

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 (2026). Break Y Axis (https://ww2.mathworks.cn/matlabcentral/fileexchange/45760-break-y-axis), MATLAB Central File Exchange. 检索时间: .

致谢

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

启发作品: Aesethetic Axis Breaks

类别

Help CenterMATLAB Answers 中查找有关 Axes Appearance 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.2.0.0

Example

1.1.0.0

Example

1.0.0.0