Thread Subject: Partially italicize title for plot

Subject: Partially italicize title for plot

From: Amrita

Date: 25 Nov, 2009 18:21:04

Message: 1 of 3

Hi,

I am trying to partially italicize a title for my plot. I would like just the first two words of the titles to be in italics while the rest in normal font. I know of FontAngle but this seems to apply to the entire title.

I would appreciate any help! Thank you

Subject: Partially italicize title for plot

From: someone

Date: 25 Nov, 2009 18:45:27

Message: 2 of 3

"Amrita " <agm39@cornell.edu> wrote in message <hejsif$i44$1@fred.mathworks.com>...
> Hi,
>
> I am trying to partially italicize a title for my plot. I would like just the first two words of the titles to be in italics while the rest in normal font. I know of FontAngle but this seems to apply to the entire title.
>
> I would appreciate any help! Thank you

doc title
% Then look at the Tex property in the Text Properties link.

% Look at the Examples section.
% You want to use the \it and \rm Tex properties
% to turn itialics on/off.
% \it — Italic font \rm — Normal font
% Something like:

title('\ite^{\omega\tau} = \rmcos(\omega\tau) + isin(\omega\tau)')

Subject: Partially italicize title for plot

From: Amrita

Date: 25 Nov, 2009 22:56:19

Message: 3 of 3

That worked perfectly! Thank you so much

"someone" <someone@somewhere.net> wrote in message <heju06$hh7$1@fred.mathworks.com>...
> "Amrita " <agm39@cornell.edu> wrote in message <hejsif$i44$1@fred.mathworks.com>...
> > Hi,
> >
> > I am trying to partially italicize a title for my plot. I would like just the first two words of the titles to be in italics while the rest in normal font. I know of FontAngle but this seems to apply to the entire title.
> >
> > I would appreciate any help! Thank you
>
> doc title
> % Then look at the Tex property in the Text Properties link.
>
> % Look at the Examples section.
> % You want to use the \it and \rm Tex properties
> % to turn itialics on/off.
> % \it — Italic font \rm — Normal font
> % Something like:
>
> title('\ite^{\omega\tau} = \rmcos(\omega\tau) + isin(\omega\tau)')

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

Contact us at files@mathworks.com