Despite my best efforts and research I am unable to add axis titles to my TGraph2D. It seems it should be as simple as tgraph2dname->GetXaxis->SetTitle(“x axis”); but this does nothing, it does not even give me an error message. I have tried centering the titles and giving them offsets too in hopes that the titles were somewhere off the screen and it still seems to do nothing (no errors either). Does anyone have an insight in how to fix this issue. I have my code attached.
test2.cpp (926 Bytes)