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);
An abstract interface to image processing library.
static TImage * Open(const char *file, EImageFileTypes type=kUnknown)
Open a specified image file.
To draw Mathematical Formula.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
The most important graphics class in the ROOT system.
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.
TString & Append(const char *cs)
static constexpr double ps