0
$\begingroup$

I am trying to plot $p_x= \sin \theta \cos \phi$ orbital of Hydrogen atom, but I am getting a sphere instead of expected dumbbell.

SphericalPlot3D[Sin[θ] Cos[ϕ] , {θ, 0, Pi}, {ϕ, 0, 2 Pi}]

My aim is to generate this picture. px orbital

Dark represents positive value while light represents negative value.

$\endgroup$
  • 2
    $\begingroup$ SphericalPlot3D[{Sin[θ] Cos[ϕ],-Sin[θ] Cos[ϕ]} , {θ, 0, Pi}, {ϕ, 0, 2 Pi}] $\endgroup$ – AccidentalFourierTransform Oct 31 '18 at 1:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.