Thread Subject: Where can see a list of property abbreviations?

Subject: Where can see a list of property abbreviations?

From: Husam Aldahiyat

Date: 7 Feb, 2009 06:27:02

Message: 1 of 4

I've seen some users here like Matt Fig use abbreviations for properties and values of figures and uicontrols. Things like 'un' instead of 'units' and 'n' instead of 'normalized'. The problem is some abbreviations are not easy to guess, so is there a list somewhere?

Subject: Where can see a list of property abbreviations?

From: Matt Fig

Date: 7 Feb, 2009 07:04:02

Message: 2 of 4

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

Subject: Where can see a list of property abbreviations?

From: Husam Aldahiyat

Date: 7 Feb, 2009 07:47:01

Message: 3 of 4

"Matt Fig" <spamanon@yahoo.com> wrote in message <gmjbp2$n9c$1@fred.mathworks.com>...
> 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

Ah I see, thanks for the answer. th f th ans.

Subject: Where can see a list of property abbreviations?

From: Jos

Date: 7 Feb, 2009 20:40:04

Message: 4 of 4

"Husam Aldahiyat" <numandina@gmail.com> wrote in message <gmje9l$8ct$1@fred.mathworks.com>...
> "Matt Fig" <spamanon@yahoo.com> wrote in message <gmjbp2$n9c$1@fred.mathworks.com>...

<SNIP ... good explanation of abrev
 
> Ah I see, thanks for the answer. th f th ans.

??? Error using ==> newsreader
Ambiguous message text: 'th'.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com