I am trying to run ROOT 18/00 Mac 10.4.11 in quite batch mode, knowing that my code generate figures. In order to read then easily I hence Print or SaveAs the TCanvas generated.
But: if I start the macro from the command line and save the canvas using Save or SaveAs in the menu the GIF is as expected (see file good.gif). Now if in this code I save the canvas with the method SaveAs or Print or even the method described in root.cern.ch/phpBB2/viewtopic.ph … =gif+black
this gives me the black GIF (or JPG I tested) ‘bad.gif’. This does not append with (e)ps.
Is there another solution or some option I must choose ?
Note:The canvas is divided, the picture on the left if a TH1F with some fitted function and the picture on the right is TH2F with a TGraph on the top of it. I tried to paint the left first or the right first, put the right on left and vice versa … If I don’t paint the TGraph then I can see the TH2F but it is located on left, the TH1F is not visible and the right pad is empty.
Yes. I will try. The 5.19 download page only leads me to 5.18 which I suppose normal since 5.19 is in development.
I will try to download it from cvn, that I first need to install on Mac except if there is a easier solution ?
I did follow the link for the svn repository and it is how I compiled my 18.00a version (I not only retrieved the 18.00a tag but also did svn up)
Now, concerning the test you suggested, beside the fact the compilation of all the test fail (missing some struct TGeoTranslation in TGeoPatternFinder.h, which might be due to the fact that I did not explicitly compiled some GEANT4 stuff), ./stressGraphics compiled but ./stressGraphics -k fail (I do have a ROOTSYS pointing to the direction where hsimple.root can be found)
I fill investigate this more.
Finally, this is the result of uname -a on my Mac:
So. I download 5.19/01 from cvn. I compiled root and succeded in compiling stressGraphics. This last program run fine.
1/ my code with root still give the same (bad) result
2/ I don’t know what stressGraphics is supposed to give me (I compared w/ PNG and PDF). So I attached to this post the two figures that look like suspicious to me (sg03 and sg36).