[Paraview] Getting tick marks to match data points

Dave Lim dlim at titan.com
Mon Jun 27 18:10:18 EDT 2005


I can't seem to get ParaView to correctly show its tick marks on cube axes.
In particular, the tick marks for the minimum and the maximum points in each
coordinate are always a little bit off their actual locations.  For example,
when I plot a simple cube using the following VTK file and enable Cube Axes,
the tick marks for 0s and 1s are located slightly inside of the edges rather
than being ON the edges. Am I missing something in how ParaView interprets
these points?  Thank you for any help.

# vtk DataFile Version 2.0
cube example
ASCII
DATASET UNSTRUCTURED_GRID
POINTS   8 float
     0.0000     0.0000     0.0000
     1.0000     0.0000     0.0000
     1.0000     1.0000     0.0000
     0.0000     1.0000     0.0000
     0.0000     0.0000     1.0000
     1.0000     0.0000     1.0000
     1.0000     1.0000     1.0000
     0.0000     1.0000     1.0000
CELLS   1   9
   8   0   1   2   3   4   5   6   7
CELL_TYPES   1
 12

POINT_DATA   8
SCALARS Var1 float
LOOKUP_TABLE default
  0.0000E+00   0.0000E+00   0.0000E+00   0.0000E+00
  0.0000E+00   0.0000E+00   1.0000E+00   0.0000E+00

--Dave



More information about the ParaView mailing list