[comp.lang.idl-pvwave] POLYFILL, CLIP keyword

jstravis@athena.mit.edu (John S. Travis) (07/17/90)

Well, I think i've figured out why my program won't work correctly.
The CLIP keyword does not seem functional. Does this hold for everyone?

A quick way to test is to run these lines:

 x=[100,200,300]
 y=[100,300,100]
 plot,x,y,/DATA
 polyfill,x,y,color=100,/DATA  ;should draw triangle over full plot
 polyfill,x,y,color=55,CLIP=[100,100,200,300],/DATA ;draw only 1/2 the triangle

Now, on 2 different Waves(bought by 2 profs) the last 2 calls
draw the same thing.

Where as "plot,x,y,CLIP=[100,100,200,300],/DATA"
only draws half the lines. CLIP works for plot, but not POLYFILL

I want to know if this my problem or everyones.

john travis
jstravis@athena.mit.edu