[vtkusers] Issue when setting number of ticks on a vtkAxis

Cory Quammen cory.quammen at kitware.com
Tue Dec 29 21:02:00 EST 2015


Hi Joao,

You are right, the number of ticks setting is ignored when you use
SetCustomTickPositions(). All the positions and labels you provide will be
displayed. You would have to specify the two you want and pass the via
SetCustomTickPositions() to get just two.

HTH,
Cory

On Mon, Dec 28, 2015 at 9:09 AM, joaoroberto88 <joaorobertojr88 at gmail.com>
wrote:

> It seems that SetCustomTickPositions method doesn't respect the
> SetNumberOfTicks method. Any thoughts?
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Issue-when-setting-number-of-ticks-on-a-vtkAxis-tp5735645p5735657.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151229/740c4cf5/attachment.html>


More information about the vtkusers mailing list