[R-sig-Geo] Marking Locations on Geophysical map
Robert J. Hijmans
r.hijmans at gmail.com
Tue Oct 20 18:37:32 CEST 2009
Ogbos,
I cannot see the map (access denied), but you can accomplish this by
creating a point for each symbol location. You can use the "click"
function (raster package) to make this interactive. Then add the
points to the map using points( ). For different symbols, have a look
at the cex argument under ?points. You could also add text using a
point with text(c(x,y), 'hello world'). Also see ?arrows.
Robert
On Tue, Oct 20, 2009 at 6:02 AM, ogbos okike <ogbos.okike at gmail.com> wrote:
> Good day all. Attached please find a distribution of latitude and longitude
> lightning activity on world map. This plot was done using raster package.
>
> My headache now is how to use a symbol, say star, to mark or identify a
> country, e.g. South Africa or USA, on the plot.
>
> Thank you.
>
>
> URL:
> http://docs.google.com/Doc?docid=0AfJ5_yv8GrERZGY3NmhuMnNfMWZtcGhjc2d3&hl=en
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
More information about the R-sig-Geo
mailing list