Hello everyone,

I have a big data set with latitude, laongitude and the values (Z). I want
to plot the data on a map using a color scheme, so that the color at a
particular lat-long value depends on the Z-value.

First I used a projection to get the x-y coordinates. Then defined a color
scheme, and made a scatter plot.

rescale(as.numeric((data$z))) -> z
coords <- mapproject(data$lon, data$lat, projection="mollweide",
parameters=NULL, orientation=NULL)
plot(coords$x, coords$y,col=gray(seq(0,10,,11)/10)[abs(10*(1-z))])
map("world", projection="",add=TRUE)

This is creating the plot for me, but the quality is very bad. I am not able
to make it look really smooth. I even used pch="." but that made it very
grainy. Can anyone help me in this regard? Thanks.

-Aritra

	[[alternative HTML version deleted]]

