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

Home » Public Forums » archive » clipping with polyfill
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
clipping with polyfill [message #29950] Tue, 26 March 2002 10:50
Charlie Zender is currently offline  Charlie Zender
Messages: 8
Registered: October 1996
Junior Member
Hi,

I am using IDL 5.2 under Linux and having problems with clipping.
I am using polyfill to shade regions on an xy plot.
Some of the polygon vertices fall outside the axis ranges and so
I want to clip the polyfill so that the shading stays within the axes,
and so that the filling does not obscure the tickmarks on the axes,
so I do

clp=[!x.crange(0)+0.5,!y.crange(0),!x.crange(1)-0.5,!y.crang e(1)]
polyfill,x,y,clip=clp

but the results show no clipping. the values of !x,y.crange all
look reasonable so I am confused why the clipping does not appear to
work either on screen or when sent to postscript. Any ideas?

I was also surprised that postscript printing does not support the
pattern fill option in polyfill, but at least the manual documented
this "feature".

Thanks,
Charlie

--
Charlie Zender, zender at uci dot edu, (949) 824-2987, Department of
Earth System Science, University of California, Irvine CA 92697-3100
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Image scale as 0 - 4096 instead of 0 - 255
Next Topic: command line edit problem

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

Current Time: Thu Oct 09 14:53:23 PDT 2025

Total time taken to generate the page: 1.16192 seconds