Re: [R] How to plot wind direction and strength field

2008-05-02 Thread Jenny Barnes
Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jenny Barnes Sent: Tuesday, April 29, 2008 6:26 AM To: Jim Lemon Cc: r-help@r-project.org Subject: Re: [R] How to plot wind direction

Re: [R] How to plot wind direction and strength field

2008-05-01 Thread Greg Snow
Subject: Re: [R] How to plot wind direction and strength field Thanks Jim - here is some data: u - array(NA,c(5,8)) t - seq(from=0.5, to=0.11,length=15) t2 - seq(from=(-0.7),to=(-0.1),length=25) u[1:15] - t u[16:40] - t2 v - array(NA,c(5,8)) y - seq(from=(-0.9), to=(-0.01),length=40) v[1:40

[R] How to plot wind direction and strength field

2008-04-29 Thread Jenny Barnes
Dear R-help community, I have searched through the archives and not been able ot find any advice on how to plot a wind field with one arrow per grid square with the arrow pointing in the direction of the wind and it's size proportional to the wind strength. I have the wind speed data in

Re: [R] How to plot wind direction and strength field

2008-04-29 Thread Jim Lemon
Jenny Barnes wrote: Dear R-help community, I have searched through the archives and not been able ot find any advice on how to plot a wind field with one arrow per grid square with the arrow pointing in the direction of the wind and it's size proportional to the wind strength. I have the

Re: [R] How to plot wind direction and strength field

2008-04-29 Thread Jenny Barnes
Hi Jim, I would like to plot something like figure 2 on this webpage: http://www.cnrfc.noaa.gov/storm_summaries/jan1997storms.php My data is very large - covering the whole globe at 2.5deg resolution so longitude=144 girds, latitude=73 grids and time=32 years - hard to give you that

Re: [R] How to plot wind direction and strength field

2008-04-29 Thread seanpor
Jenny, Have a look at the R Newsletter Volume 3/2, October 2003 Regards, Sean Jenny Barnes wrote: Dear R-help community, I have searched through the archives and not been able ot find any advice on how to plot a wind field with one arrow per grid square with the arrow pointing in

Re: [R] How to plot wind direction and strength field

2008-04-29 Thread Gabor Grothendieck
Check out: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=80 and RSiteSearch(quiver) On Tue, Apr 29, 2008 at 6:08 AM, Jenny Barnes [EMAIL PROTECTED] wrote: Dear R-help community, I have searched through the archives and not been able ot find any advice on how to plot a wind

Re: [R] How to plot wind direction and strength field

2008-04-29 Thread Jenny Barnes
Thanks Jim - here is some data: u - array(NA,c(5,8)) t - seq(from=0.5, to=0.11,length=15) t2 - seq(from=(-0.7),to=(-0.1),length=25) u[1:15] - t u[16:40] - t2 v - array(NA,c(5,8)) y - seq(from=(-0.9), to=(-0.01),length=40) v[1:40] - y I've made up the data but it's similar magnitude and the

Re: [R] How to plot wind direction and strength field

2008-04-29 Thread Jenny Barnes
Hi Jim, I forgot to say that I don't want to create curved arrows, just straight - and I would like them to be proportional to the magnitude :o) Thanks again for your time! Jenny On Tue, 29 Apr 2008, Jenny Barnes wrote: Hi Jim, I would like to plot something like figure 2 on this