How to add tick marks and text right above plot

@couet Sorry, one more thing. Perhaps you already noticed, but the line

gr->GetXaxis()->SetRangeUser(12.75403,12.88079);

is not changing my x axis to only show that range. Does this line only work for histograms only? If so, how could I change the x axis range without histograms?