UISETSCREENPIXELSPE​RINCH

Tool that can be used to easily set the Root Property: 'ScreenPixelsPerInch'

Al momento, stai seguendo questo contributo

Nota dell'editore: 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

Cita come

Varun Gandhi (2026). UISETSCREENPIXELSPERINCH (https://it.mathworks.com/matlabcentral/fileexchange/25980-uisetscreenpixelsperinch), MATLAB Central File Exchange. Recuperato .

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.1

Updated license

1.0.0.0