MagInset

버전 1.3.0.0 (2.63 KB) 작성자: Damien
A simple function to add a magnified inset into a figure.
다운로드 수: 2.3K
업데이트 날짜: 2015/3/19

라이선스 보기

MagInset provides a one-line solution to add a magnified inset to a figure. The best way to learn how to use the function is to take a look at the example provided. The zip file includes:
MagInset.m - the function itself
MagInsetEx.m - a script which shows how to use MagInset.m using two examples.
Features:
- Works with single axes figures and multiple (subplot) figures.
- Inset size and position is specified using the data's co-ordinate system, not the normalized figure co-ordinate system, for ease of use.
- Can freely specify the zoom area (the region to be magnified in the inset), the inset size, the inset position, and lines that connect the inset to the zoom area.
Limitations (some of which I hope to address in the future):
- The figure size and axes position must be specified before using the MagInset function.
- The appearance of the inset axes is hard coded.

Inspiration drawn from "inset figure" via Robert R.

인용 양식

Damien (2024). MagInset (https://www.mathworks.com/matlabcentral/fileexchange/49055-maginset), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Annotations에 대해 자세히 알아보기
도움

받음: figure inset

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.3.0.0

- Modified the function to be compatible with MATLAB R2013b (and perhaps earlier versions as well). Thanks to Shi Zhao for his help with this!

1.2.0.0

Edited the description.

1.1.0.0

Added a screen shot.

1.0.0.0