FoxWise
September 22, 2019, 12:17pm
1
Hi everyone!
I want to draw a sector as 2d histogram.
The problem is. I didn’t figured out how to set bin regions in polar coordinates.
I want it to be with:
phi_start = -15 deg
phi_end = +15 deg
r_min = a cm
r_max = b cm
Is it possible to easily make a fancy plot as attached?
thanks and cheers!
ROOT Version: 6.18
Platform: SL7
Compiler: gcc 4.8.5
Dilicus
September 22, 2019, 6:55pm
2
Hi,
try to have a look to THistPainter 2D option , I think that the option polar is what you need. Instead of x you have the angle and instead of y you have the radius.
Cheers,
Stefano
1 Like
system
Closed
October 6, 2019, 6:55pm
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.