control the size of the display

1 view (last 30 days)
Asl
Asl on 23 Oct 2013
Edited: Azzi Abdelmalek on 23 Oct 2013
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

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!