Re: [R] legend for vectorplot in rasterVis

2016-03-01 Thread Adrienne Wootten
All, Thanks anyway folks, but I'm going to call myself a bonehead and move on now that I've found it. The key.arrow argument in vectorplot will do what I need to make a scale legend. Thanks all! Adrienne On Tue, Mar 1, 2016 at 9:14 AM, Adrienne Wootten wrote: > Jim, > > Thanks! Interesting

Re: [R] legend for vectorplot in rasterVis

2016-03-01 Thread Adrienne Wootten
Jim, Thanks! Interestingly when working with lengthKey it gives me an error that plot.new hasn't been called after the plot has been created with vectorplot. Really bizarre to me. A On Tue, Mar 1, 2016 at 5:22 AM, Jim Lemon wrote: > Hi Adrienne, > I'm not sure if this will help, but lengthKe

Re: [R] legend for vectorplot in rasterVis

2016-03-01 Thread Jim Lemon
Hi Adrienne, I'm not sure if this will help, but lengthKey in the plotrix package will display a scale showing the relationship of vector length to whatever numeric value is being displayed. However, you do have to sort of the scaling manually. Jim On Tue, Mar 1, 2016 at 7:30 AM, Adrienne Wootte

[R] legend for vectorplot in rasterVis

2016-02-29 Thread Adrienne Wootten
All, Your help with this is greatly appreciated! I'm working with the vectorplot function in rasterVis to produce wind vector maps (pretty much like the code in here - https://rpubs.com/alobo/vectorplot), but I was wondering about a legend. The vectors that vectorplot produces are wonderful. Wh