What is it that you want to do with these 4 plots? Overlay them with different color contours or plot them side-by-side on the same page?

?par # for filled.contour but the implementation will be different for those two options.

contourplot is is a lattice plotting function. See Figure 6.10 on Sarkar's Lattice book pages. levelplot is the closest analog to filled contour in lattice.
--
David Winsemius


On Mar 15, 2009, at 12:22 PM, Thomas Levine wrote:

I have four large two-dimensional matrices of which I want to create contour
plots. Something like

filled.contour(<matrix>)
contourplot(<matrix>)

works but only gives me one plot at a time. If I combine the four matrices into one three-dimensional matrix, which I'll name "seven", there should be
a way of doing something like this

contourplot(seven[,,k] for k in 1 to 4)

such that they come out as one plot rather than four. I couldn't figure out how to do this, so I tried a disgusting alternative that involved generating
x,y and k vectors, but I'd rather do it properly.

Tom

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to