#include "TGraph.h" void example01_A(){ TGraph *myData; myData = new TGraph("dataset1.dat"); myData->SetTitle("Cross Section #sigma_{CC} (E_{#nu})"); myData->SetMarkerStyle(kCircle); myData->GetXaxis()->SetTitle("E_{#nu} (GeV)"); myData->GetXaxis()->SetTitleSize(0.050); myData->GetYaxis()->SetTitle("#sigma #times 10^{-42} m^{2}"); myData->GetYaxis()->SetTitleSize(0.050); myData->GetXaxis()->SetLabelSize(0.045); myData->GetYaxis()->SetLabelSize(0.045); myData->Draw("AP"); }