search for: delta_long

Displaying 1 result from an estimated 1 matches for "delta_long".

Did you mean: delta_lon
2013 Mar 15
0
ggplot2, arrows and polar coordinates
..., y2=45.2) p <- ggplot(seals, aes(x = long, y = lat)) p1 <- ggplot() + coord_cartesian() + geom_rect(data=d, mapping=aes(xmin=x1, xmax=x2, ymin=y1, ymax=y2), fill="red", color="red", alpha=0.5) + geom_segment(data=seals, aes(x = long, y = lat, xend = long + delta_long, yend = lat + delta_lat), arrow = arrow(length = unit(0.2,"cm"))) p2 <- ggplot() + coord_polar() + geom_rect(data=d, mapping=aes(xmin=x1, xmax=x2, ymin=y1, ymax=y2), fill="red", color="red", alpha=0.5) + geom_segment(data=seals, aes(x = long, y = lat,...