Effacer les filtres
Effacer les filtres

figure size in matlab is not precise on the screen

3 vues (au cours des 30 derniers jours)
Af
Af le 6 Avr 2017
Commenté : Af le 7 Avr 2017
Hi,
I run a a very simple command to set the figure size:
set(gcf, 'units','centimeters','position',[2 3 20 10])
I expect that the size of the figure would exactly match with what I set above but when I measure it on the screen, it deviates quite a bit from the set values?
  2 commentaires
Stephen23
Stephen23 le 6 Avr 2017
Modifié(e) : Stephen23 le 6 Avr 2017
@Af: what is your screens native resolution, and what is the display resolution set to?
Af
Af le 7 Avr 2017
Hi, they are both set to 2560 by 1440

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by