Dear list,

I use the plotKML library to plot maps of simulation results (pollen maps).
It's quite great but I'd like to have some colors at some defined levels such as :
2 -> white
4 -> green
10 -> yellow
30 -> orange
60 -> red
100 -> black

my object is a SpatialPixelsdataframe or a SpatialGriddataframe.

When I use plotKML with for instance data range from 0 to 10, I don't menage to coerce the levels/colors of the map :
the color_scale always fit to the min/max of the data and don't fellow the levels (2,4,10,30,60,100)...
I have tried colour_scale, colour, levels options but it doesn't work.

Does anyone have encountered the same problem and fixed it ?

Regards,

Florence

	[[alternative HTML version deleted]]

