Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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

No tags are associated with this thread.

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.

Contact us