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

Home » Public Forums » archive » Re: IDLgrWindow (?) bug
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: IDLgrWindow (?) bug [message #19129 is a reply to message #19126] Mon, 28 February 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Pavel Romashkin (pavel@netsrv1.cmdl.noaa.gov) writes:

> I think there is a bug in the way IDL creates an independent object
> graphics window. Once you change things in it, the viewport (or
> something else) changes, messing the displayed axes up. Try the code at
> the bottom of this message. I use PPC IDL 5.2 and tried it in PPC IDL 5.3.

Humm. Could be. I couldn't really make heads or tails
out of your example code, so I couldn't really decide
what I was suppose to be looking for.

I'm not sure what "messing the displayed axes up" means.
I notice you are not recomputing the axis text objects
character dimensions, which would certainly mess the
displayed axes up after you changed either the viewport
or the axis range. I would do something like this:

x_axis = obj_new('IDLgrAxis', 0, ticklen=0.03, name='X_AXIS', $
location=[1000, 0, 0], /exact)
x_axis->GetProperty, TickText=xtextObject
xtextObject->SetProperty, Recompute_Dimensions=2

But maybe your question extents beyond this detail. If
so, let me know.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL enhancements (was Re: idl2matlab translate-o-matic)
Next Topic: Re: object graphics colormap bug ?

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

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

Total time taken to generate the page: 1.12073 seconds