Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Default properties for figures and axes
Date: Thu, 10 Jan 2008 01:24:02 +0000 (UTC)
Organization: University of California San Diego
Lines: 31
Message-ID: <fm3s3i$5u4$1@fred.mathworks.com>
References: <fm380e$obl$1@fred.mathworks.com> <fm3bq9$h0j$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1199928242 6084 172.30.248.35 (10 Jan 2008 01:24:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 10 Jan 2008 01:24:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 163259
Xref: news.mathworks.com comp.soft-sys.matlab:445137



Yair,

Thank you so much for this link. 

> Actually, this is entirely documented and not at all a bad
> idea:
>
http://www.mathworks.com/access/helpdesk/help/techdoc/creating_plots/f7-21465.html
> 

Inspired by your find I continued my digging in the
documentation, and found at least one other place where the
defaults are discussed:

You can set default axes properties on the figure and root
levels:set(0,'DefaultAxesPropertyName',PropertyValue,...)
set(gcf,'DefaultAxesPropertyName',PropertyValue,...)where
PropertyName is the name of the axes
property and PropertyValue is the value you are specifying.
Use set and get to
access axes properties.

So the documentation is there, it's just not terribly easy
to find. And, importantly, setting up the default values
this way is safe.

Thanks again,

Petr