Displaying 1 result from an estimated 1 matches for "colramp0".
Did you mean:
colramp
2011 Dec 22
1
overlaid filled contour plots
...nlevels=4, add=TRUE, col=clr[3])
lines(rbind(cm0, cm1, cm2))
points(rbind(cm0, cm1, cm2), col=clr, pch=16, cex=1.5)
I've tried filled.contour(), as below, except that (a) it doesn't allow
add=TRUE, and (b) has no way to suppress the legend.
# try filled contours, using transparent colors
colramp0 = colorRampPalette(c("white", clr[1]))
col <- paste(colramp0(5), "80", sep="") # make transparent
filled.contour(dest0$x1, dest0$x2, dest0$fhat, nlevels=4,
xlim=c(-8,4), ylim=c(-3,0), cex.lab=1.25, col=col,
xlab="GNP", ylab="Unemployed"...