Hello, hopefully simple question, but I cannot find the answer. I need to change the color from the standard default. Still want the scaled colors, but need different colors for different graphs. Code is: wireframe(z ~ y*x, mat.df, drape = TRUE, zlab = list("Water mass error (%)",rot=92), zlim=c(-50,180), xlab = list("Resistance error (%)",rot=16), ylab = list("Length error (%)",rot=118), scales = list(arrows = FALSE), screen = list(z = 20, x = -57, y = 5)) Thanks ahead of time. -- M. Keith Cox, Ph.D. Alaska NOAA Fisheries, National Marine Fisheries Service Auke Bay Laboratories 17109 Pt. Lena Loop Rd. Juneau, AK 99801 Keith.Cox@noaa.gov marlinkcox@gmail.com U.S. (907) 789-6603 [[alternative HTML version deleted]]
Hello, hopefully simple question, but I cannot find the answer. I need to change the color from the standard default. Still want the scaled colors, but need different colors for different graphs. Code is: wireframe(z ~ y*x, mat.df, drape = TRUE, zlab = list("Water mass error (%)",rot=92), zlim=c(-50,180), xlab = list("Resistance error (%)",rot=16), ylab = list("Length error (%)",rot=118), scales = list(arrows = FALSE), screen = list(z = 20, x = -57, y = 5)) Thanks ahead of time. -- M. Keith Cox, Ph.D. Alaska NOAA Fisheries, National Marine Fisheries Service Auke Bay Laboratories 17109 Pt. Lena Loop Rd. Juneau, AK 99801 Keith.Cox@noaa.gov marlinkcox@gmail.com U.S. (907) 789-6603 [[alternative HTML version deleted]]
On Mon, Aug 3, 2009 at 9:36 AM, Marlin Keith Cox<marlinkcox at gmail.com> wrote:> Hello, hopefully simple question, but I cannot find the answer. ?I need to > change the color from the standard default. ?Still want the scaled colors, > but need different colors for different graphs. > > Code is: > > wireframe(z ~ y*x, mat.df, > ? ? ? ? ?drape = TRUE, > ? ? ? ? ?zlab = list("Water mass error (%)",rot=92), zlim=c(-50,180), > ? ? ? ? ?xlab = list("Resistance error (%)",rot=16), > ? ? ? ? ?ylab = list("Length error (%)",rot=118), > ? ? ? ? ?scales = list(arrows = FALSE), > ? ? screen = list(z = 20, x = -57, y = 5))Different color schemes are as simple as wireframe(volcano, drape = TRUE, col.regions = terrain.colors(100)) -Deepayan