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

1 Ansicht (letzte 30 Tage)
Tom
Tom am 11 Jan. 2012
Hi - how do I make my graph as big as possible on screen. Thanks
  1 Kommentar
Matt Fig
Matt Fig am 2 Nov. 2012
Hi - how do I make my graph as big as possible on screen. Thanks

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Chandra Kurniawan
Chandra Kurniawan am 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');

Weitere Antworten (1)

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

Kategorien

Mehr zu Graph and Network Algorithms finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by