Thread Subject:
sub and spuer script in graphs

Subject: sub and spuer script in graphs

From: Dave

Date: 1 Aug, 2009 17:45:20

Message: 1 of 3

hi,

is there any way for getting sub and superscript in axis labels for graphs?

Dave

Subject: sub and spuer script in graphs

From: dpb

Date: 1 Aug, 2009 17:49:50

Message: 2 of 3

Dave wrote:
> hi,
>
> is there any way for getting sub and superscript in axis labels for graphs?

Yeah, look for "string property" in label() doc for available TeX
sequences interpreted...

--

Subject: sub and spuer script in graphs

From: Faraz Afzal

Date: 1 Aug, 2009 20:34:03

Message: 3 of 3

"Dave " <yogi_cave@yahoo.com> wrote in message <h51uvf$k39$1@fred.mathworks.com>...
> hi,
>
> is there any way for getting sub and superscript in axis labels for graphs?
>
> Dave

Hi Dave...

Yeah its sternly simple..... U need no to set the interpreter to any suff unless u want set all the fonts and places and other bla bla by latex...

just go for this...

for example
 
xlabel(' 'plot of \phi^2)

it will form superscript.. all u ahve to use is a backslash...

for subscript u will do this..

xlabel('i m writing subscript t as \phi_t')
OR
legend('plot of \phi_d')

I hoep it helps.... but if u r using some stuff like english alphabets then u might have to add option of setting the interpreter...

i hope it helps..

Faraz

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
labelling Faraz Afzal 1 Aug, 2009 16:39:06
faraz Faraz Afzal 1 Aug, 2009 16:39:06
latex Faraz Afzal 1 Aug, 2009 16:39:06
tex Faraz Afzal 1 Aug, 2009 16:39:05
superscript Dave 1 Aug, 2009 13:49:03
subscript Dave 1 Aug, 2009 13:49:03
graphs Dave 1 Aug, 2009 13:49:03
rssFeed for this Thread

Contact us