TITLE: Graphing Compex Functions 3D (x,y,i axes) Instead Of Color-Coded (SAGE).
QUESTION [5 upvotes]: Following this guide to Sage: and using Sage Online produced the following graphs: 
Graphing $\frac{1}{1-z}$ that way yeilds:

Graphing $\frac{1}{1-z^2}$ that way yields:

It would be nice to see it in 3D instead of merely color coded. The y-axis is coming out of the picture toward us and instead of seeing the 3D surface (in x,y,i coordinates) we see a color-graph on the x-i plane.

REPLY [2 votes]: I wrote a little something in three.js/webgl to do this.

It allows you to choose how to map your 4 available complex axes to X,Y,Z and color gradient.
It is using math.js, so to express formulas you need to call the appropriate math.js functions which isn't so elegant, but it works. E.g. for
$$
\frac{1}{1+z^2}
$$
you write: 
g=divide(1,add(1,pow(f,2)))

Free, no install of anything required. Sharable. Just a hobby project, but might be useful. Some other examples here.