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

Home » Public Forums » archive » Re: Flexible IDLgrAxes with nicely auto-rendered text labels?
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
Re: Flexible IDLgrAxes with nicely auto-rendered text labels? [message #64545] Tue, 06 January 2009 09:28
M. Katz is currently offline  M. Katz
Messages: 69
Registered: May 2005
Member
Oh my, it works! I'm shocked and pleased that such a kludge is there,
and disappointed that it isn't documented, since it's such an obvious
thing that people would need.

Nutshell from David's site:

1) Define the IDLgrAxis object
2) GetProperty to retrieve its TICKTEXT
3) SetProperty on the TICKTEXT object for Recompute_Dimensions=2
et voila!

and don't forget to also set Recompute_Dimensions on the TITLE text
object to avoid the same pitfall.

Thanks!
M. Katz
Re: Flexible IDLgrAxes with nicely auto-rendered text labels? [message #64551 is a reply to message #64545] Tue, 06 January 2009 07:51 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
M. Katz writes:

> Does anyone have an elegant suggestion about how to make IDLgrAxes
> keep up with adjustable plot data ranges and still maintain nice auto-
> generated, well-sized text?

The fix described in this article used to work. Haven't checked
it in a long time:

http://www.dfanning.com/ographics_tips/font_dimensions.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Installing IDL on ubuntu
Next Topic: multiple line title in window

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

Current Time: Wed Oct 08 15:27:29 PDT 2025

Total time taken to generate the page: 0.00525 seconds