control the size of the display

How can a control the size of the plots displayed by plot command. At the moment I use the mnouse to enlarge the figures. Thanks

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 23 Oct 2013
Edited: Azzi Abdelmalek on 23 Oct 2013
Look at this example
t=0:0.1:10;
y=sin(t);
plot(t,y);
set(gcf,'units','inches','position',[1 1 10 5])

Categories

Asked:

Asl
on 23 Oct 2013

Edited:

on 23 Oct 2013

Community Treasure Hunt

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

Start Hunting!