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 #82829 is a reply to message #82707] Tue, 15 January 2013 12:59 Go to previous message
Sir Loin Steak is currently offline  Sir Loin Steak
Messages: 42
Registered: January 2012
Member
On Monday, January 14, 2013 7:23:05 PM UTC, Chris Torrence wrote:
> 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

Thanks for the help everyone. I've tried using the !9 math font, but it doesn't seem to work - all it does is produce the '' symbols! And after checking the mathfont symbols (as shown at http://www.idlcoyote.com/graphics_tips/lesign.php) I can't see this overbar character listed anywhere???

Cheers,

Liam
[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: Fri Oct 10 02:30:07 PDT 2025

Total time taken to generate the page: 0.00591 seconds