[R] setting levels in contourplot()

David Winsemius dwinsemius at comcast.net
Mon Apr 20 17:32:15 CEST 2009


On Apr 20, 2009, at 11:22 AM, Dieter Menne wrote:

> Cable, Samuel B <Samuel.Cable <at> hanscom.af.mil> writes:
>
>> Does the contourplot() routine have an argument analogous to the
>> "levels" argument in the contour() routine?  More generally, is  
>> there a
>> way for the user to fix the contour levels in contourplot()?  Thanks.
>
> Assuming lattice:
>
> cuts
>
> Dieter
>

Also assuming lattice, cuts would be the analog of nlevels=<n> in  
contour, but to specify particular levels which I believe was the  
request, it appears one would need to set pretty=FALSE and use the at=  
parameter in panel.contourplot.

-- 
David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list