Message Boards Message Boards


Plot a wave in 3d

Posted 1 year ago
1 Reply
2 Total Likes


I wish to plot the following field, in the x-y-z space:

enter image description here

It is the electric field component of an electromagnetic wave travleing in the positive x-direction.

I came across this question form Mathematica stackexchange which has a few solution to plot the very-familiar EM wave, but I am interested in this rather different field, and only in the electric field.

I am not familiar with Module, but familiar with Plot3D and ParametricPlot3D only up to the level seen in the Documentation.

Thanks in advance for any "simple way" suggestions.

at t = 0

VectorPlot3D[{0, Sin[\[Pi] z], 0} Cos[x], {x, -10, 10}, {y, -10, 
  10}, {z, -10, 10}]

enter image description here

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract