Skip to content
Prev 383154 / 398502 Next

MAP HELP

Hi Anjaly,
Here is a very simple way to plot something like this. There are many
ways to do this and of course easier ways to automate the placement of
the points and labels.

library(maps)
library(plotrix)
map("world",xlim=c(13.548932,53.407331),ylim=c(70.824046,78.764113))
box()
segments(20,76,25,77)
points(25,77,pch=19)
boxed.labels(20,76,"Kraken\nn=2\nlat=20 lon=76\nlength=10-20M")
segments(40,72,51,71)
points(51,71,pch=19)
boxed.labels(40,72,"Herring\nn=20000\nlat=51 lon=70\nlength=15-20cm")

Jim
On Sun, Apr 5, 2020 at 6:10 AM anjaly menon <anjalygmenon9 at gmail.com> wrote: