From ef65348e17625cee056d952e102c9cde320f9d51 Mon Sep 17 00:00:00 2001 From: Baptiste Mouginot <mouginot.baptiste@gmail.com> Date: Fri, 17 Apr 2015 13:11:12 +0000 Subject: [PATCH] bug correction git-svn-id: svn+ssh://svn.in2p3.fr/class@642 0e7d625b-0364-4367-a6be-d5be4a48d228 --- gui/trunk/CLASSRead.cxx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/gui/trunk/CLASSRead.cxx b/gui/trunk/CLASSRead.cxx index e1b2d3c13..63865d828 100755 --- a/gui/trunk/CLASSRead.cxx +++ b/gui/trunk/CLASSRead.cxx @@ -282,7 +282,11 @@ void CLASSRead::PlotInv(vector<CLASSPlotElement> toplot, bool DecayChain, int St fCNucleiInv=0; } fCNucleiInv = new TCanvas("c_NucleiInv","NucleiInv",50,110,400,300); - + if(!LinBin) + { + fCNucleiInv->SetLogx(); + fCNucleiInv->SetLogy(); + } fGraphInv = new TGraph*[toplot.size()]; fLegendInv = new TLatex*[toplot.size()]; @@ -463,8 +467,8 @@ void CLASSRead::PlotTox(vector<CLASSPlotElement> toplot, bool DecayChain, int St fCNucleiTox = new TCanvas("c_NucleiTox","NucleiTox",50,110,400,300); if(!LinBin) { - fCNucleiTox->SetLogX(); - fCNucleiTox->SetLogY(); + fCNucleiTox->SetLogx(); + fCNucleiTox->SetLogy(); } fGraphTox = new TGraph*[toplot.size()]; @@ -644,7 +648,11 @@ void CLASSRead::PlotHeat(vector<CLASSPlotElement> toplot, bool DecayChain, int S fCNucleiHeat=0; } fCNucleiHeat = new TCanvas("c_NucleiHeat","NucleiHeat",50,110,400,300); - + if(!LinBin) + { + fCNucleiHeat->SetLogx(); + fCNucleiHeat->SetLogy(); + } fGraphHeat = new TGraph*[toplot.size()]; fLegendHeat = new TLatex*[toplot.size()]; -- GitLab