Klein-Nishina Formula:
Here’s my code for using TGraphPolar for plotting.
compton.cpp (2.3 KB)
Why does drawing four graphs give a different result than drawing just the fourth graph?
1 Like
I’ll check
The first graph drawn defines the axis. If you want both plots to have the same axis definition, always draw the same graph first.
compton.cpp (2.1 KB)
1 Like
Thanks for your help.
Also as it seems you are in Radian, you need the following lines after drawing:
c1->Update();
grP4->GetPolargram()->SetToRadian();
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.