From: Greg J. <gv...@gm...> - 2016-01-29 01:15:13
|
Hi all, I've been having difficulties under windows with plplot 5.11+ when used with GDL (gnudatalanguage). When I run a test that exercises 2-d bitmaps and line plots together (test_tv.pro), I got wrong behavior. I discovered the offense did not happen for plplot created in December 2014 - which I had saved - but every version since therework of src/plbuf.c (mid-Jan 2015) had the issue. I narrowed it down to the single line call to plP_bop() at the end of the rdbuf_bop routine. When this call is not made from plbuf.c, everything is working well (using wingc). Within the GDL usage constraints, this call does not seem needed when used for xwin.c, either. Another issue possibly related, from GDL the gdlstream::Clear() call which was also responsible for bad behavior: /f/gdl/src/gdlwinstream.cpp- plstream::scolbg(red0,green0,blue0); > > /f/gdl/src/gdlwinstream.cpp- ::c_plbop(); > > /f/gdl/src/gdlwinstream.cpp: // ::c_plclear(); > > c_plcear() was another thing messing up the GDL plotting. Again, if I also removed ::c_plclear for the xwin driver, this was no detrimental effects. I suspect that if plP_bop() should be generally called from plbuf then whatever is going wrong should be fixed in wingcc. Greg |