From: Torquil M. <to...@gm...> - 2008-01-18 18:51:08
|
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=20 following plline() is invisible. This is not neccesary when using the xwin= =20 driver. Here is some example c++-code: ////////////////////////////////////////// #include <plplot/plplot.h> using namespace std; int main() { double x[] =3D { 0.1, 0.5, 0.2, 0.4, 0.4 }; double y[] =3D { 0.5, 0.4, 0.4, 0.8, 0.9 }; plsdev("wxwidgets"); plinit(); plenv(0, 1, 0, 1, 1, -2); =09 plbox("bcinst", 0, 0, "bcinst", 0, 0); =09 plcol0(1); // Without this the lines are invisible! plline(5, x, y); =09 plend(); return(0); } //////////////////////////////////////////// Debian Sid (PLPlot 5.8.0-6 and NVidia driver 100.14.19) Best regards, Torquil S=F8rensen |