On Tue, 20 Jul 1999, Suzanne Panacek wrote: Hi Suzanne, you have to complete the macro by giving it the required histogram (e.g. in TFile), otherwise one would need to save the complete Histogram in an intermediate file. Cheers Otto > { > //=========Macro generated from canvas: c1/c1 > //========= (Tue Jul 20 08:56:37 1999) by ROOT version 2.22/04 // assume file "histfile.root" contains htemp TFile * hfile = new TFile("histfile.root"); > TCanvas *c1 = new TCanvas("c1", "c1",75,-6,700,500); > c1->Range(-10.15,-56.7,7.35,510.3); > c1->SetFillColor(19); > c1->SetBorderSize(2); > > htemp->Draw(""); > c1->Modified(); > c1->cd(); > } ---------------------------------------------------------------------------- Otto Schaile Sektion Physik der LMU Muenchen Phone: (+49 89)289 14070 Am Coulombwall 1, D-85748 Garching, Germany FAX: (+49 89)289 14072 EMail: Otto.Schaile@Physik.Uni-Muenchen.DE
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET