Reverse Y-Axis in wxMathplot

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
periscopewxyun
In need of some credit
In need of some credit
Posts: 5
Joined: Sat Dec 16, 2017 6:59 am

Reverse Y-Axis in wxMathplot

Post by periscopewxyun » Fri Dec 21, 2018 6:49 pm

Hello all,

Does anyone know how to reverse y-axis in wxMathplot? Currently, my Y-Axis starts from 0 at the bottom and goes up to the max value (for example 100) on the top. Is there a function or method to make the Y-Axis to start at the max value (100) from the bottom and go up to 0 on the top?

I attached a picture for reference.

Thank you!

periscopewxyun
Attachments
Reversed_Y_axis.png
Reversed_Y_axis.png (44.67 KiB) Viewed 400 times

rando
Earned a small fee
Earned a small fee
Posts: 24
Joined: Fri Nov 09, 2018 9:11 pm

Re: Reverse Y-Axis in wxMathplot

Post by rando » Tue Jan 15, 2019 9:55 pm

The last commit to wxMathPlot was in 2009. You might want to consider something more up to date.

That being said, have you looked at the wiki? the class mpScaleY looks interesting.

periscopewxyun
In need of some credit
In need of some credit
Posts: 5
Joined: Sat Dec 16, 2017 6:59 am

Re: Reverse Y-Axis in wxMathplot

Post by periscopewxyun » Sat Feb 23, 2019 5:36 pm

rando,

Thank you for your reply. I will consider other options.

Regards,

periscopewxyun

Post Reply