HOW TO SOLVE THIS PROBLEM

6 vues (au cours des 30 derniers jours)
Younis Firwana
Younis Firwana le 18 Déc 2018
ASL_GUI
Error using figure
PaperSize cannot be set in normalized PaperUnits.
To set PaperSize:
Set PaperType to a different value, or
Change PaperUnits to inches, centimeters, or points, and then set PaperSize.
Error in ASL_GUI
Error in ASL_GUI
Error in ASL_GUI
  3 commentaires
Younis Firwana
Younis Firwana le 19 Déc 2018
explain the problem to me, please. then tell me how to solve it
Rik
Rik le 19 Déc 2018
The PaperUnits property of your figure is set to Normalized, which means that you can't set an explicit value for the PaperSize property, because it is by definition 1.

Connectez-vous pour commenter.

Réponses (1)

Jing Ci Neo
Jing Ci Neo le 25 Jan 2021
You can try
set(gcf, 'PaperUnits', 'Inches')

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by