Wrong figure size in student version of MATLAB
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
The following code generates a figure (US letter size) which is finally saved to pdf. Everything was in my desktop computer, but when I tried it in my laptop (student version), only almost 2/3 of the plot appears in the figure. Any help? Thank you.
figure('Units','centimeters','Position',[0 0 21.59 27.94],'paperunits','centimeters','PaperSize',[21.59 27.94],'PaperPosition',[1.5 1.5 21.59 27.94])
saveas(gcf,'1.pdf']);
2 Kommentare
Ilja Maljutenko
am 11 Jul. 2016
Couldn't reproduce your problem. I filled your figure with contourf(peaks(100)) and result is in attachment. Used Matlab R2015a.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Graphics Objects 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!