Let say I have some 3d equation, something like
dx/dt=y-x
dy/dt=z(y-x)
dz/dt=y-z
I'd like to do a stream plot that is a cross section for some fixed z. Is there a way to do this?
Let say I have some 3d equation, something like
dx/dt=y-x
dy/dt=z(y-x)
dz/dt=y-z
I'd like to do a stream plot that is a cross section for some fixed z. Is there a way to do this?
You may use SliceVectorPlot3D
.
Manipulate[
SliceVectorPlot3D[{y - x, z (y - x), y - z},
{y == 0, z == a}, {x, -1, 1}, {y, -1, 1}, {z, -1, 1}],
{{a, -1}, -1, 1}]
Hope this helps.
By plotting the projection of your vectors on an x-y-plane, like so:
u = y - x
v[z_] = z (y - x)
Manipulate[StreamPlot[{u, v[z]}, {x, -1, 1}, {y, -1, 1}], {z, -1, 1}]
Is this what you're looking for?
StreamPlot
represent trajectories over time, then z
would be changing throughout that time altering the vector field & trajectories. While the lines have little significance, it seems to me the projected direction field has some meaning.
$\endgroup$
Commented
Aug 12, 2016 at 19:15