plot3Dsurface4txtfile

Hi, all!

How to build a surface from a file?

I could read data : x,y,z = loadtxt('data.txt', usecols=[0,1,2],
unpack=True), but was unable to draw :-((

In a file stored vertices rectangular sites:

-3.7169418696 -1.1272630211 2.3019377358
-3.8909157412 -2.0312577759 1.7469796037
-3.5817236434 -2.3326455834 1.7469796037
-3.7169418696 -1.1272630211 2.3019377358

-3.7169418696 -1.1272630211 2.3019377358
-3.5817236434 -2.3326455834 1.7469796037
-3.5453532005 -1.2945206358 2.3019377358
-3.7169418696 -1.1272630211 2.3019377358

...

Thank.

ยทยทยท

--
View this message in context: http://old.nabble.com/plot3Dsurface4txtfile-tp29816972p29816972.html
Sent from the matplotlib - users mailing list archive at Nabble.com.