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

2 views (last 30 days)
Hi - how do I make my graph as big as possible on screen. Thanks

Accepted Answer

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

More Answers (1)

Tom
Tom on 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!