[Paraview] multiple scalars

Berk Geveci berk . geveci at kitware . com
24 Jun 2003 16:36:24 -0400


You mean there are two SCALARS field in the file? In this
case, ParaView (actually, VTK) will read only one. However,
if you add the second array as field, you can use both.
Something like (you better check the documentation, the
following might be a bit wrong):

...
POINT_DATA 686
SCALARS my_array1 float
LOOKUP_TABLE default
...
FIELD FieldData 1
my_array2 1 686 float
...

-Berk

On Tue, 2003-06-24 at 15:50, Dave Semeraro wrote:
> 
> Hi,
> 
> I have an input file in vtk format. It is a rectilinear grid file with two 
> scalars of attribute data. I can
> load it into paraview running on a single workstation. I then add a 3D 
> contour to the pipeline
> and see a nice surface. I now want to work with the other scalar value in 
> the data. I click on the
> scalars tab on the contour widget and only see the first (default) scalar. 
> How do I get access to
> the second scalar field in the dataset? Is that even possible with the 
> legacy vtk file format?
> 
> Thanks
> Dave
> 
> 
> Dave Semeraro Ph.D.
> Visualization and Virtual Environments Group
> NCSA University of Illinois
> 605 E. Springfield Ave.
> Champaign, IL 61820
> Semeraro at ncsa . uiuc . edu
> (217) 244-1852
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview . org
> http://www . paraview . org/mailman/listinfo/paraview