Plotting Two-Dimensional Complex Waves
Jack5225
Is it possible to make a contour plot of a two-dimensional complex wave with the color scale representing the complex phase? Or alternatively, is there some other way to plot two-dimensional complex waves?
You can display a complex matrix as an image plot. Then you have the choice of magnitude, real part, imaginary part, or phase to be the quantity represented.
Unfortunately, contour plots accept only real waves. You would need to make a new wave with the appropriate quantity in it first.
June 19, 2020 at 10:12 am - Permalink
Plotting the phase in an image plot achieves what I was trying to do, thanks!
June 30, 2020 at 04:59 pm - Permalink
Just a word of caution about plotting 2D phase. Unlike 1D phase, the 2D case is a bit more complicated. Depending on your application you may benefit from understanding the complexities of 2D phase. I recommend looking at the documentation for ImageUnwrapPhase and references therein.
July 1, 2020 at 12:39 pm - Permalink