I found what I believe to be a bug (or at least a misfeature) in PHPlot, which I developed a fix for. I would like to (a) discuss whether this is indeed the appropriate fix, and if so (b) contribute it back to the community. The web site phplot.org refers to a repository on github, but there seems to be no activity and the code there seems to be identical to that here. The only active forum I've found is this one, so here goes...
There are comments in the PHPlot code for DrawYAxis()
This draws the Y axis and grid lines. It must be called before DrawXAxis() to avoid
having a horizontal grid line overwrite the X axis.
which mostly prevents the described problem except in cases like
where both X and Y axes are drawn. In this case, a vertical grid line overwrites the Y axis. The fix I came up with was to change DrawXTicks() and DrawYTicks() to only draw the grid line if there wasn't an axis at the same position, vis...
Hi,
I hope I'm not treading on toes here...
I found what I believe to be a bug (or at least a misfeature) in PHPlot, which I developed a fix for. I would like to (a) discuss whether this is indeed the appropriate fix, and if so (b) contribute it back to the community. The web site phplot.org refers to a repository on github, but there seems to be no activity and the code there seems to be identical to that here. The only active forum I've found is this one, so here goes...
There are comments in the PHPlot code for DrawYAxis()
which mostly prevents the described problem except in cases like
where both X and Y axes are drawn. In this case, a vertical grid line overwrites the Y axis. The fix I came up with was to change DrawXTicks() and DrawYTicks() to only draw the grid line if there wasn't an axis at the same position, vis...
Which solves the problem for me.
So... (a) is this a good fix, and if so (b) how do I go about getting it adopted by the maintainers?
Cheers,
John