I am trying to add a 3d curve to a 3d surface plot.
Without the curve, the surface plot functions as expected: it has different colours for different values along the z axis.
However, if I try to add a 3d curve, the colouring of the surface gets broken: a single colour is used for the whole surface (it seems to be the colour which corresponds to zero value on the colourmap).
How can I fix this problem? The backend I am using is PyPlot.