3D Maple-images of the d-orbitals S02(θ,φ), S12(θ,φ) en S22(θ,φ). Note that the spherical coordinates (θ and φ) used by Maple are reversed compared to the definitions used in Griffiths’ Introduction to Quantum Mechanics (the latter being the more standard definition in physics and mathematics courses).
Effect of exchanging θ and φ
are reversed: I.e. if we use the variable θ as the variable φ and vice versa, the resulting plots become something quite different. This goes for all available plotting programs (Maple, gnuplot…); make sure you certain that what you think you enter is also what the program thinks you have entered. If not you could end up with surprising results. The same images as above, but now with θ and φ exchanged: