Re: [R] Overlaying graphics

2007-02-24 Thread Stephen Tucker
Not pretty, but you could possibly try:

# first map
map(#arguments#)
xylim = par(usr)

# second map
out = map(#arguments#, plot=FALSE)
par(xaxs=i,yaxs=i)
plot.window(xlim=xylim[1:2],ylim=xylim[3:4])
polygon(out)




--- Takatsugu Kobayashi [EMAIL PROTECTED] wrote:

 Rusers:
 
 This is a very fundamental and silly question. How can I overlay 
 different maps on the same x and y scales? I do neither want to change X 
 and Y axes nor show different x and y ticks on top of each other.
 
 Thanks
 
 Taka
 Indiana University
 
 __
 R-help@stat.math.ethz.ch 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.


__
R-help@stat.math.ethz.ch 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.


Re: [R] Overlaying graphics

2007-02-23 Thread Takatsugu Kobayashi
Rusers:

This is a very fundamental and silly question. How can I overlay 
different maps on the same x and y scales? I do neither want to change X 
and Y axes nor show different x and y ticks on top of each other.

Thanks

Taka
Indiana University

__
R-help@stat.math.ethz.ch 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.