Plotting 2-D Gradient Fields

First define a scalar field to take the gradient of:

> f:=x^2*y-y^3;

[Maple Math]

Maple's "gradplot" command will take the gradient of f and plot the resulting vector field:

> gradplot(f,x=-2..2,y=-2..2,scaling=constrained,axes=frame,thickness=2,arrows=slim,color=cyan);

[Maple Plot]

>