Use the image command to create 2D image plots.
A simple image plot of x^2+y^2 can be created with the following commands:
Often, we want to plot data from monitors. You might do something like this.
image(x*1e6,y*1e6,E2,"x (um)","y (um)","|E|^2");