One thing I was confused is that the image of “P magnitude” in visualizer seems to be always different when I manually export image from the monitor.
For example, this is the script from “monitor1” in a 3D simulation:
P1 = pinch (getdata (monitor1, “Px”));
P2 = pinch (getdata (monitor1, “Py”));
P3 = pinch (getdata (monitor1, “Pz”));
Pt = sqrt ((P1)^2+(P2)^2+(P3)^2)
However, when I plot the image of real(Pt) versus the axis I chose, it seems to be not match to the image of P magnitude I saw in the visualizer.
Is there anything wrong or misunderstanding? When I simply plot Px or Py or Pz manually, everything is identical with the image in the visualizer.
Thanks a lot.