In the example of density plot, I tried to use "surface plot" instead of "density plot",
g = graph.graphxy(height=8, width=8,
x=graph.axis.linear(min=re_min, max=re_max, title=r"$\Re(c)$"),
y=graph.axis.linear(min=im_min, max=im_max, title=r'$\Im(c)$'))
g.plot(graph.data.points(d, x=1, y=2, color=3, title="iterations"),
[graph.style.surface()]) # <<-- I changed this line
Interestingly, I cannot open any of the files (EPS or PDF) using Mac OS 10.6: it crashes either the Finder or the Preview.
I have no clue why this is happening. Can anyone reproduce this behavior on a Linux/Windows machine to confirm it is a problem of the OS?