Re: polyfill errors? [message #26336 is a reply to message #26332] |
Wed, 22 August 2001 21:39   |
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
|
|
|