BestArrayDims

버전 1.0.0.0 (2.04 KB) 작성자: Zachary Danziger
Arrange n elements in an array (for subplots).
다운로드 수: 300
업데이트 날짜: 2011/2/28

라이선스 보기

[nr nc] = BestArrayDims(n)
Given n elements, BestArrayDims returns the dimensions of an array in which to store them. The function also accepts user preferences as to whether they require less wasted space or a more square configuration.

I have found this function particularly well-suited for finding subplot dimensions if it is not known in advance the number of plots that will be needed.

인용 양식

Zachary Danziger (2025). BestArrayDims (https://www.mathworks.com/matlabcentral/fileexchange/30561-bestarraydims), MATLAB Central File Exchange. 검색 날짜: .

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

도움 받은 파일: numSubplots - neatly arrange subplots

Community Treasure Hunt

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

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