From: Doan Vo on
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
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
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
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);