bug in plotting rasterLayer?

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

bug in plotting rasterLayer?

Pascal Title-2

I found that when I try to plot 3 rasters on top of each other, the third
raster plot causes the plot device coordinates to shift to the right.

I can reproduce this error easily:

f <- system.file("external/test.grd", package="raster")
r <- raster(f)


plot(r, add=TRUE)
plot(r, add=TRUE)
plot(r, add=TRUE)

For me, the 3rd plot with add=TRUE causes a coordinate system shift.

I am running R v3.3.3 with raster package v2.5-8.

Are others finding the same thing?

Pascal Title
PhD candidate | Rabosky Lab <http://www.raboskylab.org/>
Dept of Ecology and Evolutionary Biology
University of Michigan
[hidden email]


        [[alternative HTML version deleted]]

R-sig-Geo mailing list
[hidden email]