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

Home » Public Forums » archive » Re: oplot - error in plotting to Z buffer only
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: oplot - error in plotting to Z buffer only [message #14231] Mon, 08 February 1999 00:00 Go to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
Gwyn Fireman wrote:
>
> Well, I'm stumped.
>
> I have a routine to automatically generate a bunch o'gifs.
> Usually it works fine.
>
> On one set of data it fails with the error:
>
> % OPLOT: No valid points, must have at least 2 distinct points
>
> But, but - I *do* have points to plot!
> If I run this interactively I can re-enter the command after it gives
> the error, and it works fine. (But .con does not)
>
> AND if I plot to an X-window instead of to the Z-buffer (as I usually
> do when generating gifs) it runs fine.
>
> Has anyone seen a similar discrepancy?
> Is there something I need to know about the Z buffer?

This may be the same bug I've run into. In some cases, when plotting:

- with my own UserSym plot symbol (say a 20-point circle)
- to the Z-Buffer device
- right at the bottom or top edge of the plot where the UserSym might
meet or go over the edge (sorry, I don't remember exactly)

this very error would occur. When I fixed the YRange and plotted a set
of points that started off the bottom and crept onto the plot, I could
tell when it failed. I found a workaround, so I didn't get to the
bottom of this.

Hope this helps!

Cheers,
--
-Dick

Dick Jackson Fanning Software Consulting, Canadian Office
djackson@dfanning.com Calgary, Alberta Voice/Fax: (403) 242-7398
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: device,decomposed=0
Next Topic: Re: 3D projection rotation

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

Current Time: Fri Oct 10 02:11:40 PDT 2025

Total time taken to generate the page: 1.20037 seconds