Hello, I am not sure if this is a bug or not in the wxwidgets driver?:
After running plbox(), it is neccesary to run plcol0() afterwards. If not, the
following plline() is invisible. This is not neccesary when using the xwin
driver. Here is some example c++-code:
//////////////////////////////////////////
#include <plplot/plplot.h>
using namespace std;
int main() {
double x[] = { 0.1, 0.5, 0.2, 0.4, 0.4 };
double y[] = { 0.5, 0.4, 0.4, 0.8, 0.9 };
plsdev("wxwidgets");
plinit();
plenv(0, 1, 0, 1, 1, -2);
plbox("bcinst", 0, 0, "bcinst", 0, 0);
plcol0(1); // Without this the lines are invisible!
plline(5, x, y);
plend();
return(0);
}
////////////////////////////////////////////
Debian Sid (PLPlot 5.8.0-6 and NVidia driver 100.14.19)
Best regards,
Torquil Sørensen
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general