Effacer les filtres
Effacer les filtres

How do I make my graph as big as possible on the screen?

1 vue (au cours des 30 derniers jours)
Tom
Tom le 11 Jan 2012
Hi - how do I make my graph as big as possible on screen. Thanks
  1 commentaire
Matt Fig
Matt Fig le 2 Nov 2012
Hi - how do I make my graph as big as possible on screen. Thanks

Connectez-vous pour commenter.

Réponse acceptée

Chandra Kurniawan
Chandra Kurniawan le 11 Jan 2012
Just a little example with imshow
scrsz = get(0,'screensize');
imshow('peppers.png');
set(gcf,'position',scrsz);
Or may be :
scrsz = get(gcf,'position');
set(gca,'unit','pixel','position',[0 0 scrsz(3) scrsz(4)]);
imshow('peppers.png');

Plus de réponses (1)

Tom
Tom le 12 Jan 2012
That's great thanks.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by