Is specifiying the absolute width and length of the axes possible?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I'm using grid_legend because I need multicolumnlegends. Unfortunately the figure size changes always with a new legend size. So I think I need to set the axis to e.g. width 9cm and height e.g. 7cm, so my graphs wouldn't always change size.
Is it possible to do that and which parameter would it be?
Regards, David
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 12 Feb. 2013
Bearbeitet: Azzi Abdelmalek
am 12 Feb. 2013
set(gcf,'units','centimeters')
x0=10;
y0=10;
width=9;
height=7;
set(gcf,'position',[x0,y0,width,height])
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Legend finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!