我后来用了一种不是很简洁的方式表示的,还有待改进,画出来是这样哒
l = 0.000005;
Show[{DensityPlot[
225*Cos[(4 \[Pi]*y2)/l]^2, {x2, -0.0015, 0.0015}, {y2, -0.0015,
0.0015}, RegionFunction -> Function[{x2, y2}, y2 <= x2 <= -y2],
PlotPoints -> 100]}, {DensityPlot[
225*Cos[(4 \[Pi]*y2)/l]^2, {x2, -0.0015, 0.0015}, {y2, -0.0015,
0.0015}, RegionFunction -> Function[{x2, y2}, -y2 <= x2 <= y2],
PlotPoints -> 100]}, {DensityPlot[
225*Cos[(4 \[Pi]*x1)/l]^2, {x1, -0.0015, 0.0015}, {y1, -x1, x1},
PlotPoints -> 100]}]
