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 #26336 is a reply to message #26332] Wed, 22 August 2001 21:39 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Peter Thorne <peter.thorne@uea.ac.uk> writes:

> Hi,
>
> I'm at the end of my tether on this one and would really appreciate any
> help that you can give, it may well just be a silly error on my part
> (problems seeing the woods for the trees). Polyfill seems to
> systematically shift the y-values in some plots of a multiplot by a
> random amount which leads to plots which are not what is required.
>

Hi Peter--

I do exactly the kind of thing you are talking about in my routine
PLOTCOLORFILL (although there is a lot of other baggage there). I
don't recall having problems, and I do lots of postscript output with
it.

The only thing I don't see in your call to POLYFILL is the use of the
/DATA keyword, which ensures that the polygon is in data coordinates.
That may help.

Med, I always use OPLOT, and hardly ever PLOTS. It's not obsolete!
With PLOTS you have to be sure to say NOCLIP=0 and /DATA, which is
done automatically for OPLOT. I think of OPLOT being for plotting
data while PLOTS is for plotting lines and art.

[ Also I do use keyword names as variable names, at least when they
match the exact keyword they are being passed to, i.e. XRANGE=XRANGE,
but that is a matter of personal taste. ]

Craig
[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: Fri Oct 10 14:05:07 PDT 2025

Total time taken to generate the page: 0.64238 seconds