On Jun 16, 2012, at 3:18 PM, Charles Berry wrote:
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.
I suggest looking at 'arrow.plot' in package 'fields'. It will not be
colored, but rather placing oriented arrows whose length is
proportional to velocity. Your request for x, y, time coordinates may
also lead you to the 'rgl' package, or to the 'animation' package.
--
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@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.