plots
gradplot
plot a 2-D gradient vector field
Calling Sequence
Parameters
Description
Examples
gradplot(f, r1, r2, options)
gradplot(f, r1, r2,..., options)
f
-
function or set of function to be plotted
r1
range
r2
options
options that control the behavior of the gradplot
A typical call to the gradplot function is gradplot(f, x=a..b, y=c..d), where f is a Maple expression in x and y, and a..b and c..d specifies the horizontal and vertical ranges of the field. The result is a two dimensional vectorfield with the gradient vector evaluated at (x, y) located at this point.
A call to gradplot produces a PLOT data structure, which is then printed. For information on these data structures, see plot/structure.
Remaining arguments are interpreted as options which are specified as equations of the form option = value. In particular, the arrows, grid, fieldstrength, clipping, and anchor options listed on the fieldplot help page are available, and all other options are interpreted as by the plot command. For more information, see plot/options.
gradplot may be defined by with(plots) or with(plots,gradplot). It can also be used by the name plots[gradplot] .
with⁡plots:
gradplot⁡x2+y2+112,x=−2..2,y=−2..2
gradplot⁡x2+2⁢y2+1,x=−1..1,y=−1..1,grid=15,15,color=x2+2⁢y2+1
The command to create the plot from the Plotting Guide is
gradplot⁡sin⁡x⁢y,x=−π..π,y=−π..π,arrows=SLIM,grid=8,8
See Also
plot
plot/function
plot/option
plot/range
plot/structure
Student[MultivariateCalculus][Gradient]
Student[VectorCalculus][Gradient]
VectorCalculus[Gradient]
Download Help Document