[R] Plotting Vector Fields

bb2@duke.edu bb2 at duke.edu
Fri Jul 25 02:47:03 CEST 2003


Dear R List,

Is there a function to plot vector fields in R?

I'm looking for something similar to PlotVectorField in Mathematica 
(see below), e.g. given functions f(x) and f(y), I would like to plot 
the resulting field of vectors (f(x),f(y)) over some range of x and y.


PlotVectorField[{f(x), f(y)}, {x, xmin, xmax}, {y, ymin, ymax}]



Thanks for your help,
Brian




More information about the R-help mailing list