How to graph spherical harmonics in the Mac "Grapher" application?

I was wondering if it was possible to graph the spherical harmonics in the Mac grapher app. In their [manual](http://y.barois.free.fr/grapher/Documentation_files/GCXENManual16042014A.pdf), there is a section that talks about graphing the spherical harmonics (page 54):


[![enter image description here](https://i.stack.imgur.com/XKa5P.png)](https://i.stack.imgur.com/XKa5P.png)


This is my attempt at graphing the spherical harmonic for l = 1 and m = 0:


[![enter image description here](https://i.stack.imgur.com/ozlGM.png)](https://i.stack.imgur.com/ozlGM.png)


There is clearly something wrong. My suspicion is that (for some reason) the application may be using a rectangular coordinate system, since this is the exact graph in rectangular coordinates. However, as you can see in the image, I am supposed to be in spherical coordinates. Any help would be greatly appreciated. 


