23 TFITSHDU hdu(dir +
"/io/fitsio/sample2.fits");
30 std::unique_ptr<TVectorD> Y(hdu.GetArrayRow(0));
31 std::unique_ptr<TVectorD>
X(hdu.GetArrayRow(1));
35 auto c =
new TCanvas(
"c1",
"FITS tutorial #2", 800, 800);
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
FITS file interface class.
A TGraph is an object made of two arrays X and Y with npoints each.
virtual TObject * DrawClone(Option_t *option="") const
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).