Cable, Samuel B Civ USAF AFMC AFRL/RVBXI
2009-Apr-20 14:30 UTC
[R] setting levels in contourplot()
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. --Sam Cable
On Apr 20, 2009, at 10:30 AM, Cable, Samuel B Civ USAF AFMC AFRL/RVBXI wrote:> 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. > > --Sam CableYou might consider offering the name of the package. David Winsemius, MD Heritage Laboratories West Hartford, CT
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
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