UISETSCREENPIXELSPE​RINCH

版本 1.0.0.1 (4.1 KB) 作者: Varun Gandhi
Tool that can be used to easily set the Root Property: 'ScreenPixelsPerInch'
810.0 次下载
更新时间 2016/9/1

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

UISETSCREENPIXELSPERINCH set the Root Property: 'ScreenPixelsPerInch'
UISETSCREENPIXELSPERINCH() launches a GUI that can be used to visualize the effects of changing the root property prior to actually setting its value.
The 'Text in MATLAB Figures' can be made to appear larger or smaller by changing the value of the ScreenPixelsPerInch root property.
All the input parameters are optional.

The dialog box, helps in doing one of the following:

To increase the size of text and other items on MATLAB figures,
– Using 120 PPI makes text more readable, and then click OK.
To decrease the size of text and other items on MATLAB figures,
– Using 72 PPI will help fit more information on the text, and then click OK.
Or use a Custom Setting(recommended values would be 72,96 & 120).

UISETSCREENPIXELSPERINCH(ScreenPixelsPerInch_Value) will set the
% value of the root property to the one specified as the input argument.
%
%
% Example:
% uisetscreenpixelsperinch()
% uisetscreenpixelsperinch(120) % Set value to 120
% uisetscreenpixelsperinch('reset') % Restores system defaults

引用格式

Varun Gandhi (2024). UISETSCREENPIXELSPERINCH (https://www.mathworks.com/matlabcentral/fileexchange/25980-uisetscreenpixelsperinch), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.1

Updated license

1.0.0.0