On Fri, 16 Nov 2007, Tom Minka wrote:
> I haven't seen the original code, but the problem with Ray's code is that
> the two projections are not synchronized.  Specifically, they are using
> different (default) values for the orientation.  To synchronize the
> projections, either specify the orientation parameter for both, or the
> second one should use proj="", as follows:
>
> map("france", proj="lambert", pa=c(30, 60))
> map("world", proj="", lwd=1, col="red", add=TRUE)  # reuse previous
> projection
>
> Tom
>
Thanks for that, Tom.  That does 'fix' the original code.  So basically the 
response is RTFM :-).

I had forgotten about that aspect of projections, since I don't use them 
myself.

Regards,
Ray

______________________________________________
R-help@r-project.org mailing list
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