# Revision history [back]

This is now possible as follows.

var('x,y,z')
cm = colormaps.autumn
f = cos(z*4).function(x,y,z)
implicit_plot3d(x^2-y^2*z == 0,(x,-4,4),(y,-4,4),(z,-4,4), color=(f,cm))


where cm is a chosen colormap among thos available. Beware that the coloring function f must takes value between 0 and 1.

This is now possible as follows.

var('x,y,z')
cm = colormaps.autumn
f = cos(z*4).function(x,y,z)
implicit_plot3d(x^2-y^2*z == 0,(x,-4,4),(y,-4,4),(z,-4,4), color=(f,cm))


where cm is a chosen colormap among thos those available. Beware that the coloring function f must takes value take values between 0 and 1.