Re: vtkStructuredGrid usage question in MayaVi

2007-04-23 Thread Tyler
Just found it Still not sure what the third entries are, but it's a start! # create a vtk data file sp = pyvtk.StructuredPoints ((nx, ny, 1), (xmin, ymin, 0), (dx, dy, 1)) pd = pyvtk.PointData(pyvtk.Scalars(z, name='Scalars', lookup_table="default

vtkStructuredGrid usage question in MayaVi

2007-04-23 Thread Tyler
Hello All: I hope this is a simple question, but I can't seem to figure it out. I am using MayaVi to visualize some data. I have finally manged to get the data to plot, but the axes are weird, and the scaling of the image is way off. I have been fooling around with the command below. grid = pyvtk