Last Updated 10/28/2022

Sage Essentials
Section 9: Vector Calculus

Plotting: Vector Fields

Example 2

The following SageMath codes plot the vector field F( x,y )=( siny )i+( xcosy )j on [ 3,3 ]×[ 3,3 ] .

Try this!

  f( x,y ) is called the gradient vector field of the function f( x,y ) .

Plot the gradient vector field of the function f( x,y )= x 2 y 2  on [ 3,3 ]×[ 3,3 ] .


← Previous Example