filter relations according to generation angles
Add parameter to set the number of bins in the polar plot