Re: [R] 4D Plot ??

From: Thomas Lumley <tlumley_at_u.washington.edu>
Date: Fri 08 Apr 2005 - 01:08:22 EST

On Thu, 7 Apr 2005, Mike Prager wrote:

> Tried to post this last night, but it doesn't seem to have appeared.
>
> Using R 2.0.1 on Windows XP + SP2.
>
> I am traveling, away from my usual references. I'm trying to make a
> 4-dimensional plot: a levelplot with overlaid contours, with different
> response variables represented by (1) colors on the levelplot and (2)
> the contour lines.
>
> First try was filled.contour + contour but the key printed by the first
> means that the scales differ.

You could put the contour() call in the plot.axes argument in the filled.contour() call. This is a useful trick for getting the right scales for an overlay.

         -thomas



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Apr 08 01:18:28 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:03 EST