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

Home » Public Forums » archive » Re: Putting an overbar on text in a plot
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: Putting an overbar on text in a plot [message #82707] Mon, 14 January 2013 11:23 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Monday, January 14, 2013 11:29:28 AM UTC-7, Craig Markwardt wrote:
> On Monday, January 14, 2013 4:58:52 AM UTC-5, lj...@fsmail.net wrote:
>
>> Hi all.
>
>>
>
>>
>
>>
>
>> Does anyone know of a good way to write text with an overbar covering more than one letter? For example, for an overbar over one letter 'A' I have been using the command !sA!r!a-!n. What should I do for a single overbar over two letters 'AB'?
>
>>
>
>>
>
>>
>
>> I have tried !sAB!r!a-!n and !sAB!r!a--!n, but none give me what I want. Does anyone have any ideas???
>
>
>
> Instead of shifting the bar "up" with !A, shift the text down with !B. Then you can use the underscore character to make a smooth line.
>
>
>
> Like this: '!S!BAB!R!A__!N'
>
>
>
>
>
> Craig

The !9 math font also has an "overbar" character:

p = plot(/test, TITLE='My Data !9`!S``!R!XAB')

That overbar character (the "`" character) is shifted a bit to the right, which is why you need to put one down first, then save the position, then put down a few more to cover your characters.

Cheers,
Chris
ExelisVIS
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Missing fill colours in contour plot
Next Topic: Re: IDL command line access from inside a widget?

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

Current Time: Wed Oct 08 17:30:15 PDT 2025

Total time taken to generate the page: 0.00411 seconds