I am using the following segment of code to make a plot go directly to a file.
TCanvas *Hobbes = new TCanvas("Dist","A test",5,5,1200,600); Hobbes->SetGrid(); Hobbes->cd(); TGraph *TG_Temperature = new TGraph(10); TG_Temperature->SetMarkerStyle(6); TG_Temperature->SetTitle("Temperature"); TG_Temperature->Draw("AP"); Hobbes->SaveAs("temperature.gif");
which works quite well. However I get the following messages on the command
Info in TCanvas::Print: gif file temperature.gif has been created
Is there a way to suppress these?