comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How do I change the font of the title in a plot?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How do I change the font of the title in a plot? [message #86029] Tue, 24 September 2013 16:05 Go to next message
Vineel Yettella is currently offline  Vineel Yettella
Messages: 2
Registered: September 2013
Junior Member
IDL noob here. Is there any command in IDL which changes exclusively the title of a plot? All commands that I know change all the characters in the plot (including the x-axis and the y-axis labels).
Re: How do I change the font of the title in a plot? [message #86030 is a reply to message #86029] Tue, 24 September 2013 16:23 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Vineel Yettella writes:

> IDL noob here. Is there any command in IDL which changes exclusively the title of a plot? All commands that I know change all the characters in the plot (including the x-axis and the y-axis labels).

You could probably do some limited things with embedded format codes:

IDL> cgplot, cgdemodata(1), XTitle='This is the X Title', $
YTitle='This is the Y Title', Title='!17This is the Real Title!X'

In PostScript, you could have Helvetica on the axes and the title in
Time Bold Italic like this:

PS_Start
cgplot, cgdemodata(1), XTitle='This is the X Title', Font=0, $
YTitle='This is the Y Title', Title='!8This is the Real Title!X'
PS_End, /PNG

You can see the result here:

http://www.idlcoyote.com/misc/fancy_title.png

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: How do I change the font of the title in a plot? [message #86095 is a reply to message #86029] Wed, 02 October 2013 21:26 Go to previous message
Vineel Yettella is currently offline  Vineel Yettella
Messages: 2
Registered: September 2013
Junior Member
On Tuesday, September 24, 2013 5:05:44 PM UTC-6, Vineel Yettella wrote:
> IDL noob here. Is there any command in IDL which changes exclusively the title of a plot? All commands that I know change all the characters in the plot (including the x-axis and the y-axis labels).

Thanks!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: GPULib 1.6.2 released
Next Topic: about structures

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:49:18 PDT 2025

Total time taken to generate the page: 0.00650 seconds