How to specify the absolute length (e.g. in [mm]) of the x-axis when printed to e.g. pdf?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I need to compile a large figure containing a number of seperate diagrams printed from matlab + some images (non-diagrams) into one figure. For this reason I need the x-axis of each seperate diagram to have the same absolute length..I have tried to follow the guidelines for the use of "position" and "InnerPosition", but so far no succes.
1 Kommentar
Antworten (1)
Benjamin Kraus
am 28 Dez. 2017
Are you setting the Units property on the Axes to be centimeters?
axes('Units','centimeters','Position',[1 1 10 10])
Or
set(gca,'Units','centimeters','Position',[1 1 10 10])
0 Kommentare
Siehe auch
Kategorien
Mehr zu Printing and Saving 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!