[R] Plotting tidal speed and direction in R

David L Carlson dcarlson at tamu.edu
Wed Jun 20 16:28:02 CEST 2012


Look at package CircSpatial. You can certainly plot wind direction by x and
y coordinates. You probably could use color to show speed, but it's not
immediately clear from the documentation or examples. You can browse some
examples by going to the R Graphical Manual at
http://rgm2.lab.nig.ac.jp/RGM2/ and then typing package:CircSpatial into the
search box.

----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Greg Snow
> Sent: Wednesday, June 20, 2012 9:15 AM
> To: zoeita
> Cc: r-help at r-project.org
> Subject: Re: [R] Plotting tidal speed and direction in R
> 
> You can use the 'my.symbols' and 'ms.arrows' functions in the
> TeachingDemos package to plot arrows at given locations with specified
> angles, lengths, and colors.
> 
> On Sat, Jun 16, 2012 at 5:16 AM, zoeita <zoe-allcock at live.co.uk> wrote:
> > Hi,
> >
> > I have had a look around the forums and I can't seem to find anything
> that
> > works with my data.  I have lats, longs, time, tidal speed and
> direction and
> > need to plot this in an xy plot to determine changes over time.
> contour and
> > cloud have been recommended to me as a way to do this but I can't
> figure out
> > how to get 5 dimensions into this.  I want lat and long as my x and
> y, time
> > as my z, direction as w and speed as different colours.  I imagine
> it's a
> > lot easier than I think it is - I am very new to R.  Could anyone
> please
> > help with a starting point for this?
> >
> > Thanks,
> >
> > Zoe
> >
> > --
> > View this message in context: http://r.789695.n4.nabble.com/Plotting-
> tidal-speed-and-direction-in-R-tp4633587.html
> > Sent from the R help mailing list archive at Nabble.com.
> >
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> 
> 
> 
> --
> Gregory (Greg) L. Snow Ph.D.
> 538280 at gmail.com
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list