wxPlotCtrl Topic is solved

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
gomay
In need of some credit
In need of some credit
Posts: 5
Joined: Tue Jan 26, 2010 1:39 pm

wxPlotCtrl

Post by gomay »

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
mieszko_the_first
Knows some wx things
Knows some wx things
Posts: 41
Joined: Thu Nov 20, 2008 8:43 pm
Location: Cracow, Poland

Post by mieszko_the_first »

The code:

Code: Select all

plotCtrl->SetDefaultBoundingRect(wxRect2DDouble(0, 0, 2, 5));
Changes the default ranges from 0 to 2 in X and from 0 to 5 in Y.
gomay
In need of some credit
In need of some credit
Posts: 5
Joined: Tue Jan 26, 2010 1:39 pm

Post by gomay »

mieszko_the_first wrote:The code:

Code: Select all

plotCtrl->SetDefaultBoundingRect(wxRect2DDouble(0, 0, 2, 5));
Changes the default ranges from 0 to 2 in X and from 0 to 5 in Y.

thanks, what I was looking for ..
Post Reply