Subaxis - Subplot

버전 1.1.0.0 (3.55 KB) 작성자: Aslak Grinsted
Use HTML jargon for multi axis layout.
다운로드 수: 28.3K
업데이트 날짜: 2014/7/9

라이선스 보기

SUBAXIS Create axes in tiled positions. (just like subplot)
Usage:
h=subaxis(rows,cols,cellno[,settings])
h=subaxis(rows,cols,cellx,celly[,settings])
h=subaxis(rows,cols,cellx,celly,spanx,spany[,settings])

SETTINGS: Spacing,SpacingHoriz,SpacingVert
Padding,PaddingRight,PaddingLeft,PaddingTop,PaddingBottom
Margin,MarginRight,MarginLeft,MarginTop,MarginBottom
Holdaxis

all units are relative (e.g from 0 to 1)

Abbreviations of parameters can be used.. (Eg MR instead of MarginRight)
(holdaxis means that it wont delete any axes below.)


Example:

>> subaxis(2,1,1,'SpacingVert',0,'MR',0);
>> imagesc(magic(3))
>> subaxis(2,'p',.02);
>> imagesc(magic(4))

2001 / Aslak Grinsted (Feel free to modify this code.)

인용 양식

Aslak Grinsted (2024). Subaxis - Subplot (https://www.mathworks.com/matlabcentral/fileexchange/3696-subaxis-subplot), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

Added suggestions from file exchange comments.

1.0.0.0