wxPlotCtrl Topic is solved
wxPlotCtrl
I have a problem with the limits to plot, by default the X and Y are from 10 to -10. that function can be used to change the range ... thanks
-
- Knows some wx things
- Posts: 41
- Joined: Thu Nov 20, 2008 8:43 pm
- Location: Cracow, Poland
The code:
Changes the default ranges from 0 to 2 in X and from 0 to 5 in Y.
Code: Select all
plotCtrl->SetDefaultBoundingRect(wxRect2DDouble(0, 0, 2, 5));
mieszko_the_first wrote:The code:Changes the default ranges from 0 to 2 in X and from 0 to 5 in Y.Code: Select all
plotCtrl->SetDefaultBoundingRect(wxRect2DDouble(0, 0, 2, 5));
thanks, what I was looking for ..