plot_vector_field
Plots a 3D vector field from a string "[u(x,y,z), v(x,y,z), w(x,y,z)]"
Args:
f_str: string representation of 3D field, e.g. "[z, -y, x]".
bounds: (xmin, xmax, ymin, ymax, zmin, zmax)
n: grid resolution per axis
Returns: Displayed Matplotlib 3D quiver plot (no image return needed)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of arrows sampled per axis; the grid holds n**3 points. | |
| f_str | Yes | 3D vector field in bracketed list form, e.g. "[z, -y, x]". | |
| bounds | No | Plot domain as (xmin, xmax, ymin, ymax, zmin, zmax). |