Break X Axis

Splits the x-axis into 2 disjoint regions in order to hide an uninteresting portion of a figure.

您现在正在关注此提交

Features
1.) Minimal fuss, just works
2.) Professional looking graphs
3.) Works with all 2D graphics objects: Lines, Text, Patches, Images, etc.
5.) Obeys ‘XTickMode’ for automatic or manual positioning of tick marks.
6.) Obeys ‘Layer’ property
7.) Works with semilogy plots and with either axis reversed
8.) Can resize after splitting axis
8.) Possible to unsplit axis

Limitations
1.) No support for semilogx or loglog plots
2.) Creates extra copies of the data which may be problematic when displaying very large data sets.
3.) Text inside an axes must have 'Clipping' turned 'Off' or be added after splitting the axis. Otherwise it may be rendered twice. See TextExample.m for more details.

引用格式

Peter (2026). Break X Axis (https://ww2.mathworks.cn/matlabcentral/fileexchange/42905-break-x-axis), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: BreakAxis, BreakXAxis, BreakPlot

启发作品: Aesethetic Axis Breaks, Break Y Axis

类别

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

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

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

Added a screen shot

1.1.0.0

Fixed a bug that caused plots to be misaligned in some complex figures.

1.0.0.0