{
auto c1 = new TCanvas("c1","Values of the attenuation coefficient obtained by different methods",200,10,700,500); //Making the canvas
c1->GetFrame()->SetBorderSize(12); //Setting a boardersize for the canvas
const Int_t n = 4;
Double_t x[n] = {1,2,3,4}; //Defining a vector that corresponds to the different methods 1-4
Double_t y[n] = {0.7908374398, 0.8228774149, 0.788410857979143, 0.803823897}; //Defining a vector for the values of mu
Double_t ex[n] = {0,0,0,0}; //The methods have no uncertainty
Double_t ey[n] = {0.01134588266, 0.01313331279, 0.004764900959270, 0.005572905985}; //Defining a vector for the uncertainty in the values of mu
auto gr = new TGraphErrors(n,x,y,ex,ey); //Making a graph that takes in the vectors as parameters
gr->SetTitle("Values of the attenuation coefficient obtained by different methods; Methods; Damping coefficient, mu [cm^-1]"); //Setting a main title and titles on the axis
gr->SetMarkerStyle(21); //Marker is a full square
gr->SetMarkerColor(9); //Marker is blue
gr->SetMarkerSize(1); //Setting the markersize
gr->Draw("APE"); //Drawing the graph with axis, markers and errors
}