It seems I figured out how to use triangular_mesh. However, I really can't 
understand how the information about connections between points is stored in 2D 
arrays in mlab.mesh. 
Please, could someone explain me?


Best regards, Aleksey.

Gael Varoquaux wrote:

> In general you cannot go from the representation of the data that you have
> to a surface: you need information on how to connect points, or on the
> grid on which they are acquired.
> 
> If you don't have the information, you can have a look at the "surface
> from irregular points" that try to rebuild this information, but be aware
> that this is strongly suboptimal.
> 
> HTH,
> 
> Gael
> 
> ----- Original message -----
>> Greetings, colleagues.
>> 
>> I need to plot a surface using the data from array like:
>> 
>> x1 y1 z1
>> ...
>> xn yn zn
>> 
>> As far as I understood, I must use mlab.mesh.
>> 
>> It's easy to obtain three 1D arrays (say, x, y and z). However, I don't
>> understand how can I obtain three 2D arrays to use mlab.mesh?
>> 
>> Please, help.
>> 
>> Best regards, Aleksey.



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to