Ylabel FontSize setting for existing plot/subplots or figures
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Safiya
am 30 Mai 2016
Kommentiert: Safiya
am 30 Mai 2016
Hi,
I have plotted a figure using margin(sys), which automatically plots two sub graphs top and bottom. now i want to increase the fontSize and fontWeight of the existing generated figure for the Ylabels and Xlabel. Thanks
0 Kommentare
Akzeptierte Antwort
Jos (10584)
am 30 Mai 2016
ah = findobj(gcf,'Type','Axes') % handles to all the axes in the current figure
lh = get(ah,{'ylabel','xlabel'}) % handles to all the x- and y-labels of these axes
set([lh{:}],'fontsize', 30) % change the font size
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!