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.
zoeita <zoe-allcock <at> live.co.uk> writes:> > 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?See http://blog.revolutionanalytics.com/2012/03/see-the-wind.html and the links therein. HTH, Chuck [snip]
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