21 TString dir = gROOT->GetTutorialDir();
24 TFITSHDU hdu(dir +
"/fitsio/sample2.fits");
31 std::unique_ptr<TVectorD> Y(hdu.GetArrayRow(0));
32 std::unique_ptr<TVectorD> X(hdu.GetArrayRow(1));
36 auto c =
new TCanvas(
"c1",
"FITS tutorial #2", 800, 800);
37 gr.SetFillColor(kRed);