Skip to content

legend for vectorplot in rasterVis

3 messages · Jim Lemon, Adrienne Wootten

#
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 Wootten <amwootte at ncsu.edu> wrote:
#
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 <drjimlemon at gmail.com> wrote:

            

  
    
#
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 <amwootte at ncsu.edu> wrote: