Page 1 of 1

wxmathplot problem with mpScaleX

Posted: Wed Dec 19, 2018 4:52 am
by periscopewxyun
Hello all,

I am using Code::Blocks(16.01), wxWidget 3.0.3 and wxMathplot to draw a 2D plot in my application. The data is added by defining mpFXYVector, mpScaleX and mpScaleY.

When the code/application is run, the 2D plot looks ok - the curve and scales (numbers) on both X and Y axis are Ok. Then I maximized the window, the plot also looks ok. However, when the window is minimized again, the scale (numbers) on X axis disappeared.

I have tried using fit() and layout() for mpWindow, it does not work.

Can anyone help me out?

Many thanks,

periscopewxyun