[vtkusers] vtkCubeAxes exponent visibility

Aashish Chaudhary aashish.chaudhary at kitware.com
Fri Jul 8 10:14:32 EDT 2011


On Fri, Jul 8, 2011 at 4:53 AM, Frable <zemitis.janis at inbox.lv> wrote:
> Is it possible to just turn off visibility for the exponent but still keep
> the Labelscaling?
>
> I had to manually boost my spacings to visualize a Volume, but due to that
> the Axes actor now shows 1,6 * 10^3. I would love to get rid of that (10^3)
> term. However the only option that I see is Label visiblity, which would
> turn off all the labels for that axes (Numbers at tickmarks and axis text).
> Editing the Axis-Title manually to "X-Axis" would add the exponent
> automatically again to "X-Axis *10^3".
> Any suggestions?

Have you tried setting the format for labels?

virtual void vtkCubeAxesActor::SetXLabelFormat	(	const char * 		)	 [virtual]

Look here for formatting guidelines:

http://www.cplusplus.com/reference/clibrary/cstdio/sprintf/


>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/vtkCubeAxes-exponent-visibility-tp4563966p4563966.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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com



More information about the vtkusers mailing list