mesh plot

Yes two dimensional mesh only of course... for 3D I already use Vtk

    The biggest potential problem is that matplotlib is exclusively a 2D
    plotting program (for now). Is the mesh that you want to plot two
    dimensional?

    Ryan

--Henry

I am not aware of any specific mesh plotting routines, so you may have to write your own by specifying which lines you want drawn for the mesh - sort of like specifying the vertices of polygons in VTK.

x=[0,0,1,1,0]
y=[0,1,1,0,0]
pylab.plot(x,y,'bo-')
pylab.ylim((-0.1,1.1))
pylab.xlim((-0.1,1.1))
pylab.show()

Ryan

Henry Proudhon wrote:

···

Yes two dimensional mesh only of course... for 3D I already use Vtk

   The biggest potential problem is that matplotlib is exclusively a 2D
   plotting program (for now). Is the mesh that you want to plot two
   dimensional?

   Ryan

--Henry

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * TechWell - Software Conferences, Training, & Resources
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options