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.
In need of some credit
In need of some credit
Posts: 4
Joined: Sat Dec 16, 2017 6:59 am

Reverse Y-Axis in wxMathplot

Postby 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!

Reversed_Y_axis.png (44.67 KiB) Viewed 339 times

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

Re: Reverse Y-Axis in wxMathplot

Postby 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.

Return to “C++ Development”

Who is online

Users browsing this forum: No registered users and 17 guests