SetLabelFormat

Is there a good reference on how to use SetLabelFormat method of the vtkScalarBarActor class? I have looked at this post already which is helpful.

I used ‘%-#6.3g’ (default value) to get integer values for labels of a ScalarBatActor. However, it did not work. For example I want to get 1000 as a label value whereas I get 1.00e+03. When I used ‘%4.3g’, I got 1e+03, again not 1000.

1 Like