Hi All,
I'm having difficulty making a contour plot a would like some help.
A standard contourplot can be made by having an x,y, and some matrix (shape
x*y) with contents:
x = 1:10
y = 1:10
cont <- matrix(runif(100,min=1,max=2),nrow=10,ncol=10)
filled.contour(x,y,cont)
Looks very nice.
Somet
I’ve been busy making some histograms and I would like to distinguish
different groups. I’ve been doing it like this:
a <- c(1,1,1,1,2,2,2)
hist(a,breaks=c(0,1,2))
hist(a[3:5],breaks=c(0,1,2),col="red",add=TRUE)
Basically plotting them over each other, I assume there is a better
way…Anyway what
2 matches
Mail list logo