addsubplot

버전 1.0.0 (2.53 KB) 작성자: Bramvg
a convenient wrapper for subplot(m,n,p) that automatically arranges subplots
다운로드 수: 20
업데이트 2019/8/23

라이선스 보기

ADDSUBPLOT moves the existing axes to subplots and adds a new subplot

ADDSUBPLOT
ADDSUBPLOT(where)
ADDSUBPLOT(h,___)
ADDSUBPLOT(___,name,value,...)

ADDSUBPLOTS will check first if there are unused subplot positions in the
figure. If yes, a subplot will be created in that spot. Otherwise the
existing subplots will be rearranged by adding a new row or column and a
new subplot will be created.

parameters:
h = figure handle (default is current figure)
where = use 'right' or 'bottom' to specify where the new subplot should
be added. Use 'square' (default) to keep the subplots in a square
arrangement.
name,value,... = parameters will be passed to the subplot function
ax = axes handle to new subplot

example:
figure
for n = 1:25
addsubplot
plot(rand(5))
end

인용 양식

Bramvg (2026). addsubplot (https://kr.mathworks.com/matlabcentral/fileexchange/72509-addsubplot), MATLAB Central File Exchange. 검색 날짜: .

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