-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I'm trying to plot some data using an inverted Y axis.
Since this is the most recent working version of wxMathplot that I found, I checked it out and currently everything works great except this.
This issue was first mentioned here long time ago: https://forums.wxwidgets.org/viewtopic.php?f=1&t=45412
I left a comment there. If I understand correctly, there are two issues:
- get wxAutoBufferedPaintDC to also change the axis orientation. That's an issue in wxWidgets.
- do the required changes in wxMathplot to handle that change of axis direction.
I can change the axis orientation in a simple example using wxPaintDC, but I can't just change the orientation in mathplot. It has no effect.
I'll try go over the code, but if anyone can point me to where I should look / what to modify, that would be great. I'm new to the library. I'd gladly do the work and make a pull request.
One hack could be to use a "custom made" mpScaleY. But that's just a temporary hack which I would prefer to avoid.