Displaying 1 result from an estimated 1 matches for "kz_time1".
Did you mean:
hz_timer
2009 May 13
1
Overlaying two plots
...matrix attached) inside that square region and then overlay the world
map again. When I use the following code, the image plot takes up the whole
plot screen and is not within the square region and thus when I overlay the
world map, the coordinates will be off.
df <- as.matrix(read.table("kz_time1.txt", header=F))
dff <- apply(df, 2, rev)
image(t(dff), xlab="", ylab="", axes=FALSE)
par(new=TRUE)
plot(wrld_simpl, axes = TRUE, ylim = c(-90, 90), xlim=c(-180, 180), asp =
1.5, xlab="Longitude", ylab="Latitude")
abline(v=-180, h=90, col="red&q...