Loading…

Vector Field Plotter

Math Calculus • Differential Equations

View all topics

Plot two-dimensional and three-dimensional vector fields, trace flow lines, and compute divergence and curl. Use the graph controls to zoom, shift, rotate the view, and animate motion along the field.

2D field \(\displaystyle \mathbf F(x,y)=\langle P(x,y),Q(x,y)\rangle\) 3D field \(\displaystyle \mathbf F(x,y,z)=\langle P,Q,R\rangle\) Divergence \(\displaystyle \nabla\cdot\mathbf F=P_x+Q_y+R_z\) Curl \(\displaystyle \nabla\times\mathbf F=\langle R_y-Q_z,\ P_z-R_x,\ Q_x-P_y\rangle\)

Vector field definition

Live preview

Quick examples

Ready
Enter a vector field and click “Plot field”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is a vector field?

A vector field assigns a vector to each point in space. In 2D it has the form F = <P(x,y), Q(x,y)>. In 3D it has the form F = <P(x,y,z), Q(x,y,z), R(x,y,z)>.

What does divergence measure?

Divergence measures local source or sink behavior. Positive divergence suggests outward flow, while negative divergence suggests inward flow.

What does curl measure?

Curl measures local rotation. In 2D, the important curl value is the z-component Qx - Py. In 3D, curl is a vector.

What are flow lines?

Flow lines are curves that follow the vector field. They are solutions of dr/dt = F(r).

Why normalize arrow lengths?

Normalizing arrow lengths makes direction easier to see when some vectors are much larger than others. Turning normalization off shows magnitude differences more directly.

What does the color overlay show?

The overlay can show vector magnitude, divergence, or curl. Red and blue overlays indicate positive and negative signed values for divergence and 2D curl.