Keywords: 2D Wavefunction (1,2) Surface Plot.png The quantum wavefunction of a particle in a 2D box of dimensions L<sub>x</sub> and L<sub>y</sub> The wavenumbers are n<sub>x</sub> 1 n<sub>y</sub> 2 Own drawing plotted in MuPAD 2007-02-13 Inductiveload See 2D Quantum Wavefunctions for more plots Mathematica Code This code does not require any packages to be loaded <pre><nowiki> nx 1 ny 2 Plot3D Sinnx Pi xSinny Pi y x 0 1 y 0 1 ImageSize -> 2500 BoxRatios -> 2 2 2 AxesLabel -> x/SubscriptL x y/SubscriptL y Subscriptψ 1 1 PlotRange -> -1 1 TextStyle -> FontSize -> 96 </nowiki></pre> MuPAD Code <pre><nowiki> nx 1 ny 2 f sin nx x PI sin ny y PI conts 16 projectionlevel -1 5 colourfunc zip RGB Red RGB Yellow a b -> f x y +1 / 2 a - f x y -1 / 2 b funcplot plot Function3d f x y x 0 1 y 0 1 Mesh 24 24 Submesh 8 8 LineColor RGB Black 0 99 LineWidth 0 2, FillColorFunction colourfunc AxesTitleFont BKM-cmr17 20 TicksLabelFont Courier New 12 ViewingBoxZRange -1 5 1 contours plot modify funcplot ZContours Automatic conts LineWidth 0 2 LineColor RGB Gray90 0 5 XLinesVisible FALSE YLinesVisible FALSE Filled FALSE projcontours plot Transform3d 0 0 projectionlevel 1 0 0 0 1 0 0 0 0 plot modify funcplot ZContours Automatic conts LineWidth 0 2 LineColorType Dichromatic LineColor RGB Red 0 99 LineColor2 RGB Yellow 0 99 XLinesVisible FALSE YLinesVisible FALSE Filled FALSE camera plot Camera 17 -24 45 0 5 0 4 -0 2 0 038 ploteverything plot Canvas funcplot contours projcontours Width 200 unit mm Height 150 unit mm AxesTitles x/L x y/L y z camera plot ploteverything </nowiki></pre> 2D infinite square wells Surface plots |