Save TMVA plot in png

Hi ferhue,
it does not work either.
Regards

The last idea I can think of is to call

cout << TMVA::gConfig().fVariablePlotting.fUsePaperStyle << endl;

AFTER opening the GUI but before pressing the export button.

And maybe post your version of tmvaglob.cxx.

Dear Ferhue,
can you please tell me where I can find the tmvaglob.cxx file?
I’m using the ROOT TMVA v6.06 and I can’t find it [1].
Regards

[1]
[]$ l /cvmfs/cms.cern.ch/slc6_amd64_gcc530/lcg/root/6.06.00-ikhhed4/tutorials/tmva/
total 188K
-rw-r–r-- 1 cvmfs 1.9K May 31 2016 tmva_logo.gif
-rw-r–r-- 1 cvmfs 242 May 31 2016 sigmoid-small.png
-rw-r–r-- 1 cvmfs 1.1K May 31 2016 makefile
-rw-r–r-- 1 cvmfs 183 May 31 2016 line-small.png
-rw-r–r-- 1 cvmfs 60K May 31 2016 createData.C
-rw-r–r-- 1 cvmfs 7.0K May 31 2016 TMVARegressionApplication.C
-rw-r–r-- 1 cvmfs 14K May 31 2016 TMVARegression.C
-rw-r–r-- 1 cvmfs 17K May 31 2016 TMVAMultipleBackgroundExample.C
-rw-r–r-- 1 cvmfs 6.5K May 31 2016 TMVAMulticlassApplication.C
-rw-r–r-- 1 cvmfs 6.3K May 31 2016 TMVAMulticlass.C
-rw-r–r-- 1 cvmfs 4.0K May 31 2016 TMVAGAexample2.C
-rw-r–r-- 1 cvmfs 6.2K May 31 2016 TMVAGAexample.C
-rw-r–r-- 1 cvmfs 5.4K May 31 2016 TMVAClassificationCategoryApplication.C
-rw-r–r-- 1 cvmfs 7.7K May 31 2016 TMVAClassificationCategory.C
-rw-r–r-- 1 cvmfs 21K May 31 2016 TMVAClassificationApplication.C
-rw-r–r-- 1 cvmfs 28K May 31 2016 TMVAClassification.C
drwxr-xr-x 2 cvmfs 4 Jun 1 2016 data

locate tmvaglob.cxx /opt/root/root_src/tmva/tmvagui/src/tmvaglob.cxx

If you edit the file, you need to call “make” again.

Dear ferhue,

“locate” returns nothing as well as “find”, so I do not see where this file is.
I did not download the TMVA package but I’m using the root TMVA.

Regards

Did you install the ROOT from source or downloaded as a binary?

If you want to edit tmvaglob.cxx, you need to build from source.