Spaceplots

버전 1.5.0.0 (9.75 KB) 작성자: Aditya
Customize spaces between subplots in a figure
다운로드 수: 7.2K
업데이트 날짜: 2013/6/3

라이선스 보기

Matlab's standard "subplot" function leaves large blank spaces around the plot boxes and gives the user no control over them. Spaceplots is an elementary function to get control over these spaces. I wanted to save space by making tight subplots, so I wrote this function. Thought it will be useful to others too.

>> Create your figure first, and then use spaceplots. It is a very non-intrusive function.

>> Works well with all subplot arrangements (including a mixture of large and small plots)

>> Preserves the axes line-up in the grid by manipulating insets properly

>> Does not work with multiple plots created in a figure by any function other than the Matlab default "subplot" function.

I hope the function is simple enough for anyone to rectify errors or make changes that suit them.

인용 양식

Aditya (2024). Spaceplots (https://www.mathworks.com/matlabcentral/fileexchange/35464-spaceplots), MATLAB Central File Exchange. 검색됨 .

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

줌: subtightplot

Community Treasure Hunt

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

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

Included subplot.m for v3

1.4.0.0

v3.0: Uses undocumented Matlab property 'LooseInset' which makes the function much simpler and cleaner.

1.3.0.0

1. Fixed the issues occurring in successive uses of the function on the same figure.

1.2.0.0

1. Fixed issues arising from successive uses of the function on the same figure.

1.0.0.0