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

Home » Public Forums » archive » Re: polyfill errors?
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: polyfill errors? [message #26332] Thu, 23 August 2001 02:07 Go to previous message
Peter Thorne is currently offline  Peter Thorne
Messages: 13
Registered: October 2000
Junior Member
> 4) you could simplify your code in a few places, like saying
>
> upper = upperbeta(*,laa,sig) < 3.
> lower = lowerbeta(*,laa,sig) > -2

The first few points are f.nan values in all these plots, but its a
non-regular number of points, so I have to use clunky code to avoid
resetting these (normally this criticism more than applies to my code,
but this time for once it doesn't!). Which goes some way to explaining
the solution to the problem ...

> Good
> luck and let us know what you come up with -

Our IDL guru scratched his head and tried a number of things, eventually
coming up with this ...

kl=where(finite(yplots))
polyfill, xplots(kl),yplots(kl),color=1,/data

And voila, the damn thing now works! Obviously polyfill was having
trouble with f.nan values displacing the entire y-axis in some way (we
have absolutely no idea why!) - does it tell you this in the IDL help?
NO. Grrrrrrr. Anyway, it now works which is the main thing.

Thanks for your suggestions Med and Craig.

Peter
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: _ref_extra
Next Topic: DLM obtaining structures

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

Current Time: Wed Oct 08 18:36:18 PDT 2025

Total time taken to generate the page: 0.00401 seconds