Change colours in visreg2D regression plot
问题 A great way to visualise the results of a regression in R is the visreg package. I particularly like the plots that show an interaction with different shades of two colours: library(visreg) fit.heat <- lm(Ozone ~ Solar.R + Wind + Temp, data = airquality) visreg2d(fit.heat, "Wind", "Temp", plot.type = "image") (from the visreg documentation) The two colours used are red and blue. Question How can I change the colors? Shades of red and blue don't look too well in black and white print, red and