Run your application in batch mode, eg
root -b
root > .x macro.C
and inside the macro.C, print your canvas with, eg
canvas->Print("canvas.gif"); //or jpg, etc
You must use ROOT version 5.14 or 5.16. gif files in batch mode were not possible with older versions.
Rene Brun
John Zoidberg wrote:
> How can I save a function/histogram as an image without drawing it?
> I want to avoid the use of the X server.
>
Received on Thu Jul 05 2007 - 12:59:21 CEST
This archive was generated by hypermail 2.2.0 : Thu Jul 05 2007 - 17:50:02 CEST