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

Home » Public Forums » archive » Re: Changing font on iPlot legend
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: Changing font on iPlot legend [message #70033 is a reply to message #70032] Mon, 08 March 2010 15:24 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Mar 8, 8:01 pm, Cliff <c.chees...@physics.org> wrote:
> On 8 Mar, 22:22, pp <pp.pente...@gmail.com> wrote:
>
>> Have you used
>
>> otool->commitactions
>
>> after you set the properties?
>
> Yes I have - sorry I didn't mention it.

It works for me, but I noticed that capitalization matters: The font
name must have only the first letter capitalized. Otherwise, it seems
that the name is not recognized, and it is reverted to the default
Helvetica:

IDL> o->setproperty,font_name='SYMBOL'
IDL> o->getproperty,font_name=fn & print,fn
Helvetica
IDL> o->setproperty,font_name='Symbol'
IDL> o->getproperty,font_name=fn & print,fn
Symbol
IDL> o->setproperty,font_name='symbol'
IDL> o->getproperty,font_name=fn & print,fn
Helvetica

You can also try putting a !9 inside your string, to change the font
to Symbol. It also works for me.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Changing font on iPlot legend
Next Topic: OT: Summer of Code 2010 is on!

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

Current Time: Sun Oct 12 09:26:53 PDT 2025

Total time taken to generate the page: 0.53428 seconds