36 dir.
Append(
"/graphics/feynman.C");
38 gPad->Print(
"feynman.eps");
47 printf(
"GhostScript (gs) program must be installed\n");
51 new TCanvas(
"psexam",
"Example how to display PS file in canvas", 600, 400);
52 TLatex *tex =
new TLatex(0.06,0.9,
"The picture below has been loaded from a PS file:");
55 TPad *eps =
new TPad(
"eps",
"eps", 0., 0., 1., 0.75);
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
An abstract interface to image processing library.
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.
To draw Mathematical Formula.
TString & Append(const char *cs)
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
The most important graphics class in the ROOT system.
static TImage * Open(const char *file, EImageFileTypes type=kUnknown)
Open a specified image file.