ufigpos

버전 1.0.0.0 (1.53 KB) 작성자: Marc Jakobi
For maintaining figure proportions on different screen resolutions.
다운로드 수: 31
업데이트 날짜: 2016/10/5

라이선스 보기

UFIGPOS: For adjustment of figure positions so that they maintain their
proportions on different screen resolutions and fit on the screen.
Sometimes creating a figure with a manually set Position property will
look good on the machine on which it was created, but become distorted or
not fit on the screen on another machine. This function can be used to
determine the position of the figure after its initial creation and the
screen resolution of the machine on which it was created. When running the
script in which the figure is created on another machine, the outputs of
this function can be used as inputs in the script to ensure the figure
fits on the other machine's screen while maintaining its proportions.

Syntax:

1. In order to get the required inputs on machine on which figure was first created:
[Pos, RawRes] = ufigpos(h);
2. Adjust figure position on any other machine:
ufigpos(h, Pos, RawRes]

Input arguments:

h: Figure-Handle
Pos: (use only in step 2) - Position of the figure determined in
step 1
RawRes: (use only in step 2) - Screen resolution of the machine on
which the original figure was first created (determined in step 1).

Output arguments (step 1):

Pos: Position of the figure
RawRes: Screen resolution of the machine

Author: Marc Jakobi, 27.04.2016

인용 양식

Marc Jakobi (2024). ufigpos (https://www.mathworks.com/matlabcentral/fileexchange/59494-ufigpos), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2016b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

Community Treasure Hunt

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

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