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

Home » Public Forums » archive » Re: peculiar things with Z-device
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: peculiar things with Z-device [message #30986 is a reply to message #30985] Fri, 31 May 2002 05:21 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sverre Solberg (sso@nilu.no) writes:

> I am plotting data points on maps using the map functions in idl and
> using the Z-device. When the points are close to the plot boundary,
> the program occasionally crashes and complains about too few valid
> data points. It crashes when trying to call the 'oplot' procedure (for
> each individual point). The peculiar thing is that this works
> perfectly using other devices (as 'x', 'cgm'). And the even more
> peculiar thing is that this depends on the value of oplot's keyword
> 'symsize'. For example if I use symsize=0.4 it crashes, whereas
> symsize = 0.38 or 0.42 works without problems...
>
> I must admit this belongs to the more weird things I have experienced
> with idl.
>
> When I use the 'convert_coord' function, it doesnt seem though as the
> problematic points are outside the plotting area (device coordinates
> are larger than 0).
>
> Has anybody any similar experiences?

I've seen weird things with the Z-buffer, too.
One of the things I do as a rule is set !P.Charsize to 1
when I enter the Z-buffer. This seems to make the buffer
environment consistent with my display device. Since the problem
you describe seems to have something to do with sizes,
I would give this a try. Couldn't hurt. :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@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: Quantile
Next Topic: Parameters for Dummies

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

Current Time: Wed Oct 08 18:44:11 PDT 2025

Total time taken to generate the page: 0.21349 seconds