Hi,
In a win3.1 version of S-Plus v3.2 I had a function that added polygons
to a graph. Where parts of the polygon fell outside the graph area then
those parts would not be drawn i.e. the polygon was being clipped by the
graph area.
The same function in S-Plus v3.4, 5.1 for Solaris and 4.5 for Windows
adds polygons to the graph but also draws those parts of the polygon that
falls outside of the graph area i.e. in the space for labels and titles.
I would really like the former rather than the latter i.e. the polygons
to be clipped by the graph area. Is there some function/variable that
turns "clipping" on and off?
(I really, really, really don't want to have to right a clipping function
myself.)
The point of all this is to shade the area in a gam.plot between the lower
and upper standard error curves when the dependent variable has been
restricted to a smaller interval by xlim. I chose to do it using polygon.
Is there an easier way which would make my problem above redundant?
Megan
----
Megan Pledger, m.pledger@fred.auckland.ac.nz
Biostatistician, http://www.ctru.auckland.ac.nz
Clinical Trials Research Unit, tel: +64 9 373 7599 4766
University of Auckland, fax: +64 9 373 1710
Auckland, New Zealand.
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news
|