Re: Putting an overbar on text in a plot [message #82707] |
Mon, 14 January 2013 11:23  |
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
|
|
|
|
Re: Putting an overbar on text in a plot [message #82829 is a reply to message #82707] |
Tue, 15 January 2013 12:59  |
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
|
|
|