- status: open --> closed-accepted
In the 'sectors' style, when the 'units xx' option is specified, the y-directional size of the sector element is determined independently of the y-axis range. However, the current implementation strictly checks the relationship between the y-directional size of the sector element and the y-axis range, even when the 'units xx' option is set. This can lead to unnecessary out-of-range decisions for some sector elements. The same issue could occur in the range check of the x-axis when the 'units yy' option is specified.
This update ensures the range check is limited to only the specified axis for the 'units xx' or 'units yy' option. It should be noted that the patch allows for cases where units xx or units yy excessively try to draw elements outside the graph range (actually they are clipped and therefore not drawn).
Patch file: Improving_range_check_for_sectors
Sample script: example.gp