From: Doan Vo on 15 Apr 2010 14:28 Hi, I have a few hundreds of Matlab figures simulated in 2009b (linux), in which font size of texts (title, x/y axis, legend, textbox, etc) were set as 8. When I open them again in Matlab 7 (Windows), the font sizes are now 10 for all texts. This makes my plots are messy. I can manually change the fonts one by one, but with hundreds of them ... hum ... Do anyone have a solution to change them at once? Many thanks. Vo
From: Steven on 15 Apr 2010 14:54 Not sure how you wrote your code, but if you did it like "plot(...,'FontSize',8)" each time, and all your plots are in the same m-file, then you could do Ctrl+F and choose 'Replace All', so you replace "8" with "fontsize". Then you can change all font sizes quickly just using one variable, "fontsize".
From: Walter Roberson on 15 Apr 2010 15:52 Doan Vo wrote: > I have a few hundreds of Matlab figures simulated in 2009b (linux), in > which font size of texts (title, x/y axis, legend, textbox, etc) were > set as 8. When I open them again in Matlab 7 (Windows), the font sizes > are now 10 for all texts. This makes my plots are messy. I can manually > change the fonts one by one, but with hundreds of them ... hum ... Do > anyone have a solution to change them at once? Many thanks. set( findall(0, '-property', 'FontSize'), 'FontSize', 10);
From: Doan Vo on 15 Apr 2010 18:48 That's I am looking for. Thanks Walter. Walter Roberson <roberson(a)hushmail.com> wrote in message <hq7qp5$39o$1(a)canopus.cc.umanitoba.ca>... > Doan Vo wrote: > > > I have a few hundreds of Matlab figures simulated in 2009b (linux), in > > which font size of texts (title, x/y axis, legend, textbox, etc) were > > set as 8. When I open them again in Matlab 7 (Windows), the font sizes > > are now 10 for all texts. This makes my plots are messy. I can manually > > change the fonts one by one, but with hundreds of them ... hum ... Do > > anyone have a solution to change them at once? Many thanks. > > set( findall(0, '-property', 'FontSize'), 'FontSize', 10);
|
Pages: 1 Prev: Trim figure whitespace around axes Next: parameterization of data |