search for: terraincolours

Displaying 1 result from an estimated 1 matches for "terraincolours".

2011 Aug 09
1
Transparent color ramp problem
..., alpha = 0.5, maxColorValue = 255) rgb13 <- rgb(red=255, green=219, blue=119, alpha = 0.5, maxColorValue = 255) rgb14 <- rgb(red=255, green=224, blue=178, alpha = 0.5, maxColorValue = 255) rgb15 <- rgb(red=255, green=255, blue=255, alpha = 0.5, maxColorValue = 255) terraincolours <- colorRampPalette(c(rgb7, rgb8, rgb9, rgb10, rgb11, rgb12, rgb13, rgb14, rgb15)) # Plot map image(terrain, col = shadecolours(512), axes = TRUE) # plots the shaded relief #image(dem, col = terrain.colors(512, alpha = 0.5), add = TRUE) # this option works, but I don't like th...