|
"Henrik " <henrikNOSPAM@lanl.gov> wrote in message <ftg3tq$fae$1@fred.mathworks.com>...
> How do I change the settings in the default styleSheet for
> figures. I like to always have it Landscape and Fill Page.
> But every time you restart Matlab it's back to the usual
> Portrait. setting.
> So what I like to do is set the layout as I want and then
> save it as the default stylesheet. It looks like I can only
> save it as a new stylesheet...
> Glad for any help on this
> Cheers
> Henrik
for others having terrible problems with the 'print' command printing fonts at weird sizes. (hint to mathworks: just print them like they appear in the plot window, thanks), one can use the following programmatic hack:
%assuming fignum is the figure number
template = getprinttemplate(fignum);
template.FontSize = 66;
template.FontSizeType = 'scale';
setprinttemplate(fignum,template);
print(fignum,'-dpng',filename);
I am not sure how to reset the default template, but one might want to poke around in the matlab toolbox functions for things which call getprinttemplate or setprinttemplate. there may be a way to do this in startup without too much hassle.
hth,
--sep
|