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

Home » Public Forums » archive » Object Graphics Fonts
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: Object Graphics fonts [message #39675 is a reply to message #39240] Mon, 07 June 2004 20:18 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Michael Wallace writes:

> I have found part of my problem and have devised a solution. The object
> graphics fonts in IDL 6.0 do look good, however they won't necessarily
> look good automatically. At least not for me and my particular setup.
> I wouldn't rule out the possibility that my install or configuration
> might be to blame. In any case, I have seen some strange behavior that
> has left me scratching my head.

I seriously doubt installation or configuration issues.
More likely (*much* more likely!) just object graphics programming
problems.

> Maybe someone out there can explain this. It seemed that the appearance
> of a Y axis annotation would change depending on the size of the strings
> in the text labels. For example, when one of my plots had a yrange of 0
> - 50, the Y axis text looked really good. However, if I made a plot
> where the data range was past 100, the position of the Y axis would get
> pushed over as expected. However, the rendering of the text would
> degrade tremendously. The thing that I couldn't understand was why the
> text would change in appearance just because it was rendered in a
> difference location.

Ah, I think what has been happening to you is that
you were changing the scale of the Y axis after you
created it. But you weren't recomputing new text properties
after doing so. This could indeed make the text appear "ugly".
I recommend you set the RECOMPUTE_DIMENSION keyword to 2 on
all of your text objects (including those you get from the axis
itself with TICKTEXT). That should solve a lot of problems for
you. :-)


> Whatever the case, I am now adding the axis annotations directly to the
> plot instead of to the axis. The fonts look great and they don't change
> on me. Of course, I had to go through several minutes of pain trying to
> get BASELINE and UPDIR figured out. Eventually, the "random change"
> approach yielded some good results. ;-)

It always does if you have enough time and you can actually
see *something* on the display. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3d Hanning filter
Next Topic: Re: Array indices and lookup tables

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

Current Time: Sat Oct 11 21:26:41 PDT 2025

Total time taken to generate the page: 1.20082 seconds