How can I set the default paper size? Currently whenever i want to
print something, Matlab starts out with usletter paper. As we european
folks primarily use A4 paper this is very anoying!
I tried to find the answer in the mathworks homepage and found out that
there was a property for chosing paper type. I added "Default" and tried:
>> set(gca, 'DefaultPaperType','A4')
??? Error using ==> set
Can't resolve object type in default property 'PaperType'.
What can I do to change the default paper?
Best regards Troels Pedersen
-----
Stud. Polyt. Troels Pedersen
Aalborg University * Institute of Electronic Systems
Frederik Bajers Vej 7 A * Room A3-219
DK-9220 Aalborg Oe * DENMARK
Private: Troels Pedersen * Sonjavej 18 B
DK-9000 * Aalborg * DENMARK * Phone +45 98 78 09 49
Web-page: http://kom.auc.dk/~tped00/
PaperType is a figure property, so according to the Matlab way of
thinking you must set DefaultFigurePaperType.
-Herbert
%% Uncomment the next line to use A4 paper and centimeters
%defaultpaper = 'A4'; defaultunits = 'centimeters';
usually in the lines following the default size is set according to
some ISO country codes, but you can always uncomment the
line with 'A4' to set the default.
Titus
"Troels Pedersen" <tpe...@kom.auc.dk> wrote in message
news:Pine.LNX.4.33.031028...@scovery-ws08.kom.auc.dk...
what to do with matlabrc.m (or startup.m) if I am working with a
concurrent license in a network, i.e. a local installation on a
(windows) pc. I chang e the pc and also the users on the pc are
changing.
Michael
Most likely you have roaming profiles or some kind of home directory. In
this case you can set the startup path of Matlab to your home directory
where you can also put startup.m This should give you the same Matlab
environment on any PC.
-Herbert
Hmm ... in this case, changing matlabrc is probably not the best choice.
Instead, add this line to your startup.m (creating one if necessary:)
set(0, 'DefaultFigurePaperType','A4')
By default, all your figures will have their PaperType property set to use
A4 paper, but no one else will be affected.
--
Steve Lord
sl...@mathworks.com