[vtkusers] Change scalarbar labels
Jan
liuyanbc157 at gmail.com
Mon Jul 13 05:31:05 EDT 2015
Hallo, everyone,
Now I want to set new strings in position of scalarbar labels.
For example, the range of value is 0 - 1, and with numberofLabels(6). But I
want the display instead of 0 0.2 0.4 0.6 0.8 1.0 but with form of 0 200e-03
400e-03 600e-03 800e -03 1.0. The Problem is that FormatofLabels doesn't help
support these strings. So what could I do perhaps with
AllocateAndSizeLabels() in ScalarbarActor or with other methods to change the
format of nummers in this way?
Thanks alot.
Jan
More information about the vtkusers
mailing list