Annotated cropping of data plots

版本 1.0.0.0 (6.7 KB) 作者: Kevin Bartlett
Makes a rectangular crop box in axes 1 with lines linking it to the corners of axes 2.
410.0 次下载
更新时间 2012/1/4

查看许可证

With the same data plotted in two sets of axes, cropbox.m draws a box in the first axes to indicate the cropping limits specified by the user. The second axes is cropped to the specified limits and lines are drawn linking the corners of the cropping box to the corners of the cropped axes.

Lines are broken into multiple line segments at the points where they intersect with any axes bounding boxes in the figure. This allows the user to customise the line properties, making them invisible where they pass in front of a ylabel, for instance, or making them white where they pass in front of a dark image.

引用格式

Kevin Bartlett (2024). Annotated cropping of data plots (https://www.mathworks.com/matlabcentral/fileexchange/34450-annotated-cropping-of-data-plots), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

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