]> Creatis software - clitk.git/commitdiff
Change the notation style in the fusion legend bar
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Wed, 15 Mar 2017 15:17:09 +0000 (16:17 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Wed, 15 Mar 2017 15:17:09 +0000 (16:17 +0100)
vv/vvSlicer.cxx

index 9a19cdf330ce9dda2ca9fa878112cdb9e5c7133c..bb4791de3261f5e77bb07fdb952448d1a964fd28 100644 (file)
@@ -150,10 +150,10 @@ vvSlicer::vvSlicer()
 
   legend = vtkSmartPointer<vtkScalarBarActor>::New();
   //legend->SetTitle("test!");
-  legend->SetPosition(0.82,0.18);
-  legend->SetWidth(0.1);
+  legend->SetPosition(0.82,0.08);
+  //legend->SetWidth(0.1);
   legend->SetVisibility(0);
-  legend->SetLabelFormat("%.1f");
+  legend->SetLabelFormat("%.1e");
   this->GetRenderer()->AddActor(legend);
   showFusionLegend = false;