This is an example of how to create two overlapping waves in 3 dimension in MATLAB®.
Read about the "quiver3" and "fill3" functions in the MATLAB documentation.
For more examples, go to MATLAB Plot Gallery - http://www.mathworks.com/discovery/gallery.html
MathWorks Plot Gallery Team (2019). MATLAB Plot Gallery - Two Waves (https://www.mathworks.com/matlabcentral/fileexchange/35249-matlab-plot-gallery-two-waves), MATLAB Central File Exchange. Retrieved .
Added live script