1 plot3d (sin(2*theta)*cos(phi), [theta,0,%pi], [phi,0,2*%pi],
2 [transform_xy,spherical_to_xyz], [grid,30,60], nolegend,
3 [pdf_file,"./plotting22.pdf"]);
4 plot3d (sin(2*theta)*cos(phi), [theta,0,%pi], [phi,0,2*%pi],
5 [transform_xy,spherical_to_xyz], [grid,30,60], nolegend,
6 [png_file,"./plotting22.png"]);