Plot as Inset

버전 1.2.0.0 (1.86 KB) 작성자: Vinaya Shrestha
A function that allows a separate plot on top of existing plot, with completely different axes
다운로드 수: 619
업데이트 날짜: 2011/4/6

라이선스 보기

PLOTINSET(X, Y, POSITION, WINDOWSIZE, 'xlimit', xlimit, 'ylimit', ylimit) creates a plot of vector Y versus vector X, and on top of it, creates an inset plot of size specified by WINDOWSIZE in the current figure, positioned at the location specified by POSITION.

Bottom left corner is the starting position for placement. Both size and position are scaled to accept values in range 0-1, which is the fraction size of the current plot. For example, WINDOWSIZE [.3 .3] indicates a size of the inset about one-third of the current figure.

Use parameter 'xlimit' or 'ylimit' followed by a vector containing limits for the x and y axes. Passing appropriate values for 'xlimit' and 'ylimit' will cause the inset plot to be shown as a mganification of a portion of the larger plot.

인용 양식

Vinaya Shrestha (2025). Plot as Inset (https://kr.mathworks.com/matlabcentral/fileexchange/30944-plot-as-inset), MATLAB Central File Exchange. 검색 날짜: .

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

Community Treasure Hunt

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

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

Added a missing apostrophe in the description

1.1.0.0

Pass all the data you want to plot with plotinset(), and specify 'xlimit' and 'ylimit'. If you do not provide 'xlimit' and 'ylimit', the inset plot will be same as the original plot.

1.0.0.0