I need to draw s and p(x, y, z) orbitals as shown in the attached image color doesn't matter for the orbital. My code is as follows:
\documentclass{article}
\usepackage{tikzorbital}
\begin{document}
\begin{center}
\begin{tikzpicture}
\orbital[pos = {(0,1)},scale=2.5]{s}
\node[below] at (0,0.2) {orbital shape $\ell=0$};
\orbital[pos = {(5,1)},scale=3]{px}
\orbital[pos = {(5,1)},scale=3]{py}
\orbital[pos = {(5,1)},scale=3]{pz}
\node[below] at (5,-1.5) {orbital shape $\ell=1$};
\end{tikzpicture}
\end{center}
\end{document}
The code gives the following results:
tikzorbital
package isn't intended to draw all 3 p-Orbitals the way you want. It also has no option provided to change shapes.