Hi all,

I am going to visualize mode shapes of L-shaped membranes using contour.
So far, I have two lists xin, yin containing the coordinates of interior points (see bottom of mode.png) .
A third list will contain the corresponding displacements u(xin,yin).

>>> xin
[-0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, 0.11111111111111116, 0.11111111111111116, 0.11111111111111116, 0.11111111111111116, 0.11111111111111116, 0.33333333333333326, 0.33333333333333326, 0.33333333333333326, 0.33333333333333326, 0.33333333333333326, 0.55555555555555536, 0.55555555555555536, 0.55555555555555536, 0.55555555555555536, 0.55555555555555536, 0.77777777777777768, 0.77777777777777768, 0.77777777777777768, 0.77777777777777768, 0.77777777777777768, 1.0, 1.0, 1.0, 1.0, 1.0]

>>> yin
[-0.77777777777777779, -0.55555555555555558, -0.33333333333333337, -0.11111111111111116, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, -0.77777777777777779, -0.55555555555555558, -0.33333333333333337, -0.11111111111111116, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, -0.77777777777777779, -0.55555555555555558, -0.33333333333333337, -0.11111111111111116, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, -0.77777777777777779, -0.55555555555555558, -0.33333333333333337, -0.11111111111111116, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0]


How can I realize this task with mpl ?

help (contour) yields

contour(X,Y,Z) - X,Y specify the (x,y) coordinates of the surface.
   X, Y, and Z must be arrays with the same dimensions.
   Z may be a masked array, but filled contouring may not handle
              internal masked regions correctly.

How do I build X,Y from my lists xin, yin ?

Any pointer would be appreciated.

Nils

PNG image

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to