Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Where can see a list of property abbreviations?
Date: Sat, 7 Feb 2009 07:04:02 +0000 (UTC)
Organization: Battelle Energy Alliance (INL)
Lines: 21
Message-ID: <gmjbp2$n9c$1@fred.mathworks.com>
References: <gmj9jm$2ub$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 1233990242 23852 172.30.248.35 (7 Feb 2009 07:04:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 7 Feb 2009 07:04:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 688530
Xref: news.mathworks.com comp.soft-sys.matlab:516749


I don't think there is an actual list.  The main thing is that any shortened property name/value can be used as long as the abbreviation is not ambiguous.  This means that you have to put enough letters down for there to be only one property to which you are referring.  For example, in referring to the properties of an axes, we could use

fontn - fontname - could also use fontna, fontnam
fontw - fontweight
fonts - fonts

but not

fon -  could be any of the above!  

There is a trade-off with readability, so I try to make mine short as readable to someone who is familiar.  Even though I could do:

set(gca,'v',[20 30]) % Set the view

I usually try not to do this short!





G--76>)=8N))0<0G5aG-706=AN*1/gU1t)-<7))<+4G4)5*G77+3G87GG!l