From: tbaudier Date: Wed, 15 Mar 2017 15:17:09 +0000 (+0100) Subject: Change the notation style in the fusion legend bar X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8a359c45e4a1fd312499863b4950e78d5944b10c;p=clitk.git Change the notation style in the fusion legend bar --- diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index 9a19cdf..bb4791d 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -150,10 +150,10 @@ vvSlicer::vvSlicer() legend = vtkSmartPointer::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;