Re: [Plplot-devel] [Plplot-general] wxWidgets driver -- change the default blackbackground

2016-10-06 Thread Pedro Vicente
quot;); plpoin(NSIZE, x, y, 46); plotwindow->RenewPlot(); } -Pedro ----- Original Message - From: "Phil Rosenberg" To: "Pedro Vicente" Cc: ; Sent: Thursday, October 06, 2016 5:55 AM Subject: Re: [Plplot-devel] [Plplot-general] wxWidgets driver -- change the d

Re: [Plplot-devel] [Plplot-general] wxWidgets driver -- change the default blackbackground

2016-10-06 Thread Phil Rosenberg
Hi Pedro The easiest way to do this at the moment is something like wxPLplotstream* pls = plotwindow->GetStream(); pls->adv( 0 ); pls->scolbg(255, 255, 255); pls->clear(); //rest of your plotting code If you have multiple subpages then you will need to do this on each page. Also if your subpages

Re: [Plplot-devel] [Plplot-general] wxWidgets driver -- change the default blackbackground

2016-10-05 Thread Pedro Vicente
so, there are at least 2 solutions for this : 1) the quick is just to modify the PLplot source code , in the call to void wxPLplotstream::Create comment the call to //init(); then in our app code , do the init() call after Create() . as ~~~ bool wxAppPlot::OnInit() { wxPLplotwindow *frame