Try this:

r <- pointsToRaster(....)
plot(r)
map("world", add=TRUE)

Robert

On Mon, Sep 7, 2009 at 4:18 AM, ogbos okike <ogbos.okike@gmail.com> wrote:

> Hello,
> I have got two plots (1) world map and (2) distribution of global lightning
> activity on latitude and longitude axis. Plot (1) - world map - is plotted
> using >library(maps)
> >data(worldMapEnv)
> >map("world")
>  while in plot (2), latitudes and longitudes distribution is plotted using
> PointsToRaster.
>
> But neither of these plots conveys much meaning on its own.
>
> Superposition of these two plots hold the key to the final answer. It will
> be great if plot (2) could be plotted on top of plot (1). This will help me
> interpret my distribution with regions of the earth.
>
> I will remain indebted to anybody that shows me the way out.
>
> Thank you.
> Ogbos
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

