how to have the same plot area size when some axis names become 2 lines
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Asliddin Komilov
am 12 Feb. 2020
Kommentiert: Stephen23
am 13 Feb. 2020
I am generating plots with different axis names, and when long names become 2 lines they make the plot area smaller, but I need the plot area to be the same for all my plots.
thanks
P.S. each plot is plotted separately, not at once.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 12 Feb. 2020
You could control InnerPosition property and OuterPosition property to force all of the plots to have the smaller size so that both have room for the words. There would be empty space in the one-line case but the area would be consistent.
Or you could detect the long line case and set the fontsize smaller
0 Kommentare
Siehe auch
Kategorien
Mehr zu Annotations 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!