Hi Milu,
There is a two-headed arrow on the image you sent, and it seems to be
where you specified. Did you want it beneath the map, as:

par(xpd=TRUE)
arrows(-22,54.75,-22,74,code=3)
par(xpd=FALSE)

Jim

On Tue, Apr 12, 2016 at 7:58 PM, Miluji Sb <miluj...@gmail.com> wrote:
> Dear Jim,
>
> Thanks again! I do want the arrows at the bottom (beneath the map). This is
> what I am doing:
>
> # Draw the map
> eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
> Score - Europe",colourPalette=colourPalette,
> catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe",
> addLegend=FALSE)
>
> # ISO3 codes on the map
> text(n, labels="ISO3", cex=0.30)
>
> # Obtain coordinates for the arrow
> par('usr')
>
> # -19.75966  54.75966  33.60000  71.40000
>
> # Arrows
> par(xpd=TRUE)
> arrows(-19.75966,  54.75966,  33.60000,  71.40000,code=3)
> par(xpd=FALSE)
>
> As the output shows I cannot seem to get the correct coordinates for the
> arrows. Thanks again.
>
> Sincerely,
>
> Milu

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to