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

Home » Public Forums » archive » Re: How to put prime on axis title such as U'
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to put prime on axis title such as U' [message #77827] Wed, 05 October 2011 10:32 Go to previous message
Brian Daniel is currently offline  Brian Daniel
Messages: 80
Registered: July 2009
Member
On Oct 5, 8:51 am, David Fanning <n...@dfanning.com> wrote:
> Brian J. Daniel writes:
>
>> On Oct 4, 10:26 pm, David Fanning <n...@dfanning.com> wrote:
>>> Zhang Bo writes:
>
>>>> On Oct 4, 6:02 pm, David Fanning <n...@dfanning.com> wrote:
>>>> > Zhang Bo writes:
>>>> > > xtitle = 'U'(m/s)' kind of incorrect
>
>>>> >   xtitle = 'U' + cgSymbol('prime') + ' (m/s)'
>
>> From the "more than one way to skin a cat" department:  xtitle='U'' (m/
>> s)'
>
> One advantage of cgSymbol is that the symbols it produces
> will work both on the display and in a PostScript file.
> Normally, this is a hassle to program, since different
> values have to be used on the display and in a PostScript
> file. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Of course the '' trick does not produce any other symbol, but it does
produce the same symbol in postscript as on the display. cgSymbol
works for this and any other symbol. My double-single quote trick is
just a trick I thought worth sharing.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to put prime on axis title such as U'
Next Topic: eh..a question about idl...i really need some help

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

Current Time: Wed Oct 08 15:28:23 PDT 2025

Total time taken to generate the page: 0.00444 seconds