mitchelloharawild / ggquiver

R package for quiver plots in 'ggplot2'
http://pkg.mitchelloharawild.com/ggquiver
50 stars 3 forks source link

not arrow plot when using with qmplot #7

Closed eveliseb closed 2 years ago

eveliseb commented 2 years ago

Hi, I've tried to overlay arrows to a basemap as in this example:

library(ggmap) library(dplyr)

wind_data <- wind %>% filter(between(lon, -96, -93) & between(lat, 28.7, 30)) qmplot(lon, lat, data=wind_data, extent="panel", geom = "blank", zoom=8, maptype = "toner-lite") + geom_quiver(aes(u=delta_lon, v=delta_lat, colour = spd), center=TRUE)

but only the base map and the color scale are showing. geom_quiver still works when overlaid on ggplot.

packageVersion('ggplot2') ‘3.3.5’ packageVersion('ggmap') ‘3.0.0’ packageVersion('ggquiver') ‘0.2.0’ platform x86_64-pc-linux-gnu
version.string R version 3.6.3 (2020-02-29)

Would it be something I need to update?

Thanks!

mitchelloharawild commented 2 years ago

Thanks for your bug report, this should now be fixed. I'll push a release to CRAN shortly.

eveliseb commented 2 years ago

Great, merci! You are fast! E.


From: mitchelloharawild @.> Sent: October 28, 2021 22:07 To: mitchelloharawild/ggquiver @.> Cc: Evelise Bourlon @.>; Author @.> Subject: Re: [mitchelloharawild/ggquiver] not arrow plot when using with qmplot (Issue #7)

Thanks for your bug report, this should now be fixed. I'll push a release to CRAN shortly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mitchelloharawild/ggquiver/issues/7#issuecomment-954331515, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWIEMDDKJ7J4NR45FRV65A3UJHXUHANCNFSM5G5LV6IQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.