A workaround, is to use coord_polar to force the correct axes:
res <- 1
x_cell_lim <- c(180, -180) + c(1, -1) * res/2
y_cell_lim <- c(90, 60) + c(1, -1) * res/2
ggplot(aes(x = x, y = y, fill = value), data = dat_grid) +
geom_tile() +
geom_path(data = ant_ggplot) +
coord_polar(start = -pi/2, expand = FALSE) +
xlim(x_cell_lim) +
ylim(y_cell_lim)
The little additions to the limits make sure the entire cell in
plotted without any gaps. It might make more sense to have:
x_cell_lim <- c(180, -180) + c(1, +1) * res/2, assuming cells
centered at 180 and -180 longitude are the same.
You probably get some distortion compared to the conic projection but
it might be good enough for your application. You also lose a bit of
Russia due to the axes limits, it shouldn't be too hard to subset it
and shift it 360 degrees.
Hope that helps,
Charlotte
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>
I'm not sure I have quite the right terminology to explain this, but