This may be a dumb question, however i have been scratching my head trying to figure out how to plot a 3 dimensional plot with with a colour map different from the elevation(Z) parameter.

 

An example of this done in Matlab would be

 

[X,Y,Z] = peaks(30);

C=Z'% could be anything other than Z as long as it has the same dimensions

surf(X,Y,Z,C)

 

axis([-3 3 -3 3 -10 5])

 

 

Is this possible with matplotlib '0.99.1'

 

If so how do i go about doing this  is there some sample code?

 

Mike Alger, M.A.Sc

malger@ryerson.ca