From: us on
"Faezeh Safari" <safari(a)ee.umanitoba.ca> wrote in message <i2nc0m$kns$1(a)fred.mathworks.com>...
> "Steven_Lord" <slord(a)mathworks.com> wrote in message <i2mql7$48l$1(a)fred.mathworks.com>...

> > The OP probably wants to use the cell array approach you'd included below,
> > or to create a function that sets the defaults:
> >
> > function h = applyDefaultFontProperties(h)
> > % Yes, I know this also changes the Line's LineWidth property
> > % but the name is already longish as is.
> > set(h,'DefaultTextFontsize',10, ...
> > 'DefaultTextFontname','Times New Roman', ...
> > 'DefaultTextFontWeight','bold', ...
> > 'DefaultAxesFontsize',10, ...
> > 'DefaultAxesFontname','Times New Roman', ...
> > 'DefaultLineLineWidth', 2)
> >
> > and apply this function to the figure.
> >
> > h = applyDefaultFontPropeties(figure());

> Thanks for your reply!
> I did exactly what I was told in this message but I got this error message: "??? Undefined function or method 'applyDefaultFontPropeties' for input
> arguments of type 'double'."

do NOT top post(!)...
next: hardly did you do ...exactly what I was told in this message...
mr. lord explicitly told you to CREATE the function, then APPLY it...

us