[Paraview] Getting tick marks to match data points

Wylie, Brian bnwylie at sandia.gov
Mon Jun 27 20:03:37 EDT 2005


Dave,

I actually 'fixed' the cube axes some time back. The rational behind
having the ticks 'inset' a bit is so that when two axes come to the same
endpoint the text does not overlap.

The old mode of operation was to inset the ticks and then actually show
a different value like .95 instead of 1. This pissed off most users to
no end because they couldn't actually see the true extents of their
data. I certainly believe that showing the actual end point values is
preferred...  The only question is how do you adjust the text so that is
does not overlap in a reasonable way. Probably the best solution is to
have the ticks at the end but then have the text offset enough to avoid
overlap. 

If the current mode bothers you, just enter in a feature/bug request. :)

Brian Wylie - Org 9227
Sandia National Laboratories
MS 0822 - Building 880/A1-J
(505)844-2238 FAX(505)845-0833                       
     ____                  _    __
    / __ \____  _________ | |  / (_)__ _      __ 
   / /_/ / __ `/ ___/ __ `/ | / / / _ \ | /| / /
  / ____/ /_/ / /  / /_/ /| |/ / /  __/ |/ |/ /
 /_/    \__,_/_/   \__,_/ |___/_/\___/|__/|__/

                                    Unleash the Beast
 

> -----Original Message-----
> From: paraview-bounces+bnwylie=sandia.gov at paraview.org 
> [mailto:paraview-bounces+bnwylie=sandia.gov at paraview.org] On 
> Behalf Of Dave Lim
> Sent: Monday, June 27, 2005 4:10 PM
> To: paraview at paraview.org
> Subject: [Paraview] Getting tick marks to match data points
> 
> 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
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
> 
> 



More information about the ParaView mailing list