python surface plot from 3 1D arrays -
i have 3 1 dimensional arrays. each array consists of floating point numbers. first array represents x axis coordinates. second y, third z. if put corresponding points each array ordered triple have point in xyz space. these arrays read in file. in application z thickness. best way create surface plot in these circumstances.
the easiest way start mayavi in interactive more in ipython importing mlab , use surf function:
import mlab mlab.surf(x,y,z)
hope helps.
Comments
Post a Comment