Mac Grapher Complex Error Function
You may well find that somewhere in there the complex number is being flattened and you will need to use the complex() function to protect it from that.

Check this out :- 

http://acko.net/blog/taming-complex-numbers-in-grapher-app/