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

Home » Public Forums » archive » Parallel and Perpendicular symbols in IDL 8 New Graphics.
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
Parallel and Perpendicular symbols in IDL 8 New Graphics. [message #84392] Mon, 03 June 2013 23:32 Go to next message
Xin Tao is currently offline  Xin Tao
Messages: 40
Registered: April 2011
Member
Dear all,

I'm using IDL NG, but I don't know how to put symbols like "perpendicular" (upside down T) and "parallel" (||) in annotations. In DG, I can do it, although not in a straightforward way. Is there an easy way to add those two symbols as subscripts in NG? Thanks.

Xin
Re: Parallel and Perpendicular symbols in IDL 8 New Graphics. [message #84567 is a reply to message #84392] Tue, 04 June 2013 22:17 Go to previous messageGo to next message
Xin Tao is currently offline  Xin Tao
Messages: 40
Registered: April 2011
Member
Thank you very much, Paul and alx! I thought IDL 8 followed LaTeX and I kept trying \perp and \| for those symbols.

Xin

On Tuesday, June 4, 2013 8:24:57 PM UTC+8, Paul van Delst wrote:
> IDL> w=window()
>
> IDL> p=text(0.3, 0.5,'$\bot$',font_size=20)
>
> IDL> p=text(0.7, 0.5,'$\parallel$',font_size=20)
>
>
>
> Subscripts follows the same latex format:
>
>
>
> IDL> p=text(0.3, 0.2,'Hello$_\bot$',font_size=20)
>
> IDL> p=text(0.7, 0.2,'there$_\parallel$',font_size=20)
>
>
>
> For some reason IDL uses "\bot" rather than "\perp" for the
>
> perpendicular symbol. Huh.
>
>
>
> cheers,
>
>
>
> paulv
>
>
>
> On 06/04/13 02:32, Xin Tao wrote:
>
>> Dear all,
>
>>
>
>> I'm using IDL NG, but I don't know how to put symbols like
>
>> "perpendicular" (upside down T) and "parallel" (||) in annotations.
>
>> In DG, I can do it, although not in a straightforward way. Is there
>
>> an easy way to add those two symbols as subscripts in NG? Thanks.
>
>>
>
>> Xin
>
>>
Re: Parallel and Perpendicular symbols in IDL 8 New Graphics. [message #84583 is a reply to message #84392] Tue, 04 June 2013 05:24 Go to previous messageGo to next message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
IDL> w=window()
IDL> p=text(0.3, 0.5,'$\bot$',font_size=20)
IDL> p=text(0.7, 0.5,'$\parallel$',font_size=20)

Subscripts follows the same latex format:

IDL> p=text(0.3, 0.2,'Hello$_\bot$',font_size=20)
IDL> p=text(0.7, 0.2,'there$_\parallel$',font_size=20)

For some reason IDL uses "\bot" rather than "\perp" for the
perpendicular symbol. Huh.

cheers,

paulv

On 06/04/13 02:32, Xin Tao wrote:
> Dear all,
>
> I'm using IDL NG, but I don't know how to put symbols like
> "perpendicular" (upside down T) and "parallel" (||) in annotations.
> In DG, I can do it, although not in a straightforward way. Is there
> an easy way to add those two symbols as subscripts in NG? Thanks.
>
> Xin
>
Re: Parallel and Perpendicular symbols in IDL 8 New Graphics. [message #84587 is a reply to message #84392] Tue, 04 June 2013 01:45 Go to previous messageGo to next message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
Le mardi 4 juin 2013 08:32:33 UTC+2, Xin Tao a écrit :
> Dear all,
>
>
>
> I'm using IDL NG, but I don't know how to put symbols like "perpendicular" (upside down T) and "parallel" (||) in annotations. In DG, I can do it, although not in a straightforward way. Is there an easy way to add those two symbols as subscripts in NG? Thanks.
>
>
>
> Xin

You can use the "DejaVuSans" TrueType font, if you have IDL 8.2
alx.
Re: Parallel and Perpendicular symbols in IDL 8 New Graphics. [message #85242 is a reply to message #84583] Thu, 18 July 2013 07:35 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Thank you, Paul. The \bot I would have never guessed! Haje

On Tuesday, June 4, 2013 8:24:57 AM UTC-4, Paul van Delst wrote:
> IDL> w=window()
>
> IDL> p=text(0.3, 0.5,'$\bot$',font_size=20)
>
> IDL> p=text(0.7, 0.5,'$\parallel$',font_size=20)
>
>
>
> Subscripts follows the same latex format:
>
>
>
> IDL> p=text(0.3, 0.2,'Hello$_\bot$',font_size=20)
>
> IDL> p=text(0.7, 0.2,'there$_\parallel$',font_size=20)
>
>
>
> For some reason IDL uses "\bot" rather than "\perp" for the
>
> perpendicular symbol. Huh.
>
>
>
> cheers,
>
>
>
> paulv
>
>
>
> On 06/04/13 02:32, Xin Tao wrote:
>
>> Dear all,
>
>>
>
>> I'm using IDL NG, but I don't know how to put symbols like
>
>> "perpendicular" (upside down T) and "parallel" (||) in annotations.
>
>> In DG, I can do it, although not in a straightforward way. Is there
>
>> an easy way to add those two symbols as subscripts in NG? Thanks.
>
>>
>
>> Xin
>
>>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: strange output with xyouts
Next Topic: Curious Cluster Analysis Conundrum

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

Current Time: Wed Oct 08 15:33:41 PDT 2025

Total time taken to generate the page: 0.00691 seconds