Hi, Zaldy,
> When is the feature (*.C or *.root) useful?
A "canvas.C" file shows you the C++ code to write
the canvas(including the histograms in it) when opened
with emacs, xemacs,etc. So you may actually look at
those codes and learn the C++ codes to write histoes.
This is epecially useful when you want to create a
histo from a table of data.
For a "canvas.root", I guess maybe the advantage
is that the canvas can be treated in the way as a root
file.
Best,
tcli
P.S. Who says root users can't ask not-so-hard
questions? Don't worry about that.
--- zaldy <zaldy@neutrino.kek.jp> wrote: >
> Dear ROOTers,
>
> Sorry if this is too easy.
>
> But I have never used the saving of the
> Canvas or Pad as "myCanvas.C".
> Usually, SaveAs "*.ps", "*.eps", or "gif". But I
> didnt save yet as ".root"
> or "*.C"
>
> I just want to explore the use of this.
> When is the feature (*.C or *.root) useful?
>
> If the canvas is save as "myCanvas.C",
> how (what is the command) do we view the original
> picture using the
> myCanvas.C?
>
> Thanks
> --
>
>
--------------------------------------------------------
> Zaldy A. Nawang
> PS Users Room 2
> Yon Gokan,
> E362, Neutrino Group,
> IPNS, KEK,
> Japan
>
> e-mail: zaldy@neutrino.kek.jp
> Tel. No. : (81) 029864 - 5387
>
--------------------------------------------------------
>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET