I use QT4 and QTROOT to plot TGraph in my application.
I’m wondering why y-values lay over Y-axis? Is there way to fix that?
Thanks a lot!
I use QT4 and QTROOT to plot TGraph in my application.
I’m wondering why y-values lay over Y-axis? Is there way to fix that?
Thanks a lot!
Check the result first to see if the y value is same or not. TGraph->Print() gives you the list of number. You can change the y range by TGraph->SetMaximum and TGraph->SetMinimum.
The numbers are ok but they are placed exactly on the Y-axis not just close to it. (ie the question is why does it look ugly?)
Just set the y range manually as I mentioned.