wind vectors in ggmap

300 views
Skip to first unread message

Jean-Paul Huys

unread,
Jan 6, 2014, 12:21:44 PM1/6/14
to ggp...@googlegroups.com

Hi,

Is it possible to plot wind vectors (wind speed and wind direction) in ggmap?

I have a series of met stations and want to display wind vectors at the lat/long station locations.

Thanks,

 

Jean-Paul Huys

Air Quality Specialist | ph 702.455.1684

hu...@ClarkCountyNV.gov

Clark County Dept of Air Quality

4701 W Russell Rd, Suite 200, Las Vegas, NV 89118

 

Ben Bond-Lamberty

unread,
Jan 6, 2014, 12:59:05 PM1/6/14
to Jean-Paul Huys, ggp...@googlegroups.com
Yes. Google produces the following links which look very useful:

http://stackoverflow.com/questions/14936504/vector-field-visualisation-r

http://docs.ggplot2.org/current/geom_segment.html

Ben
> --
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example:
> https://github.com/hadley/devtools/wiki/Reproducibility
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ggplot2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ggplot2+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Ben Bond-Lamberty

unread,
Jan 6, 2014, 12:59:35 PM1/6/14
to Jean-Paul Huys, ggp...@googlegroups.com
...I'm sorry, just noticed you were asking about ggmap, not ggplot. B

Dennis Murphy

unread,
Jan 6, 2014, 1:43:20 PM1/6/14
to Ben Bond-Lamberty, Jean-Paul Huys, ggp...@googlegroups.com
On Mon, Jan 6, 2014 at 9:59 AM, Ben Bond-Lamberty <bpb...@gmail.com> wrote:
> ...I'm sorry, just noticed you were asking about ggmap, not ggplot. B

I think the original advice was OK, absent a reproducible example. One
can use ggplot2 code in conjunction with ggmap, as is indicated by the
paper by David Kahle and Hadley Wickham in the R Journal:
http://journal.r-project.org/archive/2013-1/kahle-wickham.pdf (see the
section 'Analysis - ggmap in action' for an illustration).

Dennis
Reply all
Reply to author
Forward
0 new messages