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 #19127 is a reply to message #19126] Mon, 28 February 2000 00:00 Go to previous messageGo to previous message
Pavel Romashkin is currently offline  Pavel Romashkin
Messages: 166
Registered: April 1999
Senior Member
Sorry for not being explicit. "Messing up" means that the axes become
longer than they were, and extend beyond the window edges. I did not
bother preserving the font size, since I knew why the labels were distorted.
The example code does the following. If WID keyword is not set, it
creates the IDLgrWindow and adds axes to it. Axes form a nice rectangle
in the window. Then, by executing "mod_axis", I rescale horizontal axes
in that object window, while using xcoord_conv to try to preserve the
rectangle formed by the axes. Despite this, axes extend beyond the
limits of the window. I was not interested in what labels were doing, I
know about recompute=2 but did not put it in the sample code.
Then, "test" can be executed with /WID. This forces creation of a
WIDGET_DRAW object window, with the same four axes in it, forming a nice
rectangle. Then, when "mod_axis" is executed on these objects, the
scaling of horizontal axes changes properly and their length remains the
same, just as it should be. Labels, again, were not the concern.

To me it indicated that IDLgrWindow (or some other components of the
graphics tree), if created outside a WIDGET_DRAW, behaved incorrectly.
Am I misunderstanding something?

Cheers,
Pavel

David Fanning wrote:
>
> 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.
> * * * snip-snip
> But maybe your question extents beyond this detail. If
> so, let me know.
>
> Cheers,
>
> DavidP
[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: Sat Oct 11 11:23:07 PDT 2025

Total time taken to generate the page: 1.51927 seconds