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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -