distribute

버전 1.0.0.0 (1.65 KB) 작성자: Brett Shoelson
Returns a vector of starting positions and a size for uniformly spaced objects.
다운로드 수: 2.1K
업데이트 날짜: 2003/12/10

라이선스 보기

This is a VERY simple, but very useful few-line program that calculates the starting points and size of uniformly spaced (GUI) objects. Use this function, or write your own--but you should have a distribute function if you manually create GUIs (without the development environment, which has a distribute function).

USAGE:
[OBJPOS,OBJDIM] = DISTRIBUTE(NOBJECTS,STARTPOS,ENDPOS,GAP)

(Enter the number of objects, starting and end points, and gap size, and position your objects horizontally or vertically at objpos(1), objpos(2),..., and with a width/height of objdim.)

인용 양식

Brett Shoelson (2026). distribute (https://kr.mathworks.com/matlabcentral/fileexchange/4235-distribute), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
버전 게시됨 릴리스 정보
1.0.0.0