Parallel and Perpendicular symbols in IDL 8 New Graphics. [message #84392] |
Mon, 03 June 2013 23:32  |
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   |
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   |
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 #85242 is a reply to message #84583] |
Thu, 18 July 2013 07:35  |
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
>
>>
|
|
|