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

Home » Public Forums » archive » Putting an overbar on text in a plot
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
Putting an overbar on text in a plot [message #82717] Mon, 14 January 2013 01:58 Go to next message
Sir Loin Steak is currently offline  Sir Loin Steak
Messages: 42
Registered: January 2012
Member
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???

Thanks
Re: Putting an overbar on text in a plot [message #82780 is a reply to message #82717] Thu, 17 January 2013 09:27 Go to previous message
Sir Loin Steak is currently offline  Sir Loin Steak
Messages: 42
Registered: January 2012
Member
On Wednesday, January 16, 2013 4:19:00 AM UTC, Chris Torrence wrote:
> Hi Liam,
>
>
>
> You need to use the TrueType fonts, not the Hershey fonts. This is the default for object graphics and new graphics. For direct graphics, you can set !P.FONT=1. The following help page explains how to set this, and gives character tables:
>
> http://www.exelisvis.com/docs/Using_TrueType_Fonts.html
>
>
>
> Cheers,
>
> Chris
>
> ExelisVIS

Thanks Chris and Craig. Both your methods now work, so I can pick and choose which one to use at will!
Re: Putting an overbar on text in a plot [message #82816 is a reply to message #82717] Tue, 15 January 2013 20:19 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
Hi Liam,

You need to use the TrueType fonts, not the Hershey fonts. This is the default for object graphics and new graphics. For direct graphics, you can set !P.FONT=1. The following help page explains how to set this, and gives character tables:
http://www.exelisvis.com/docs/Using_TrueType_Fonts.html

Cheers,
Chris
ExelisVIS
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: What are the rules for automatic removal of singleton dimensions, and can I have a way of disabling them, please?
Next Topic: shading/outlining on surface plot

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

Current Time: Wed Oct 08 15:12:52 PDT 2025

Total time taken to generate the page: 0.00557 seconds