On 2016-01-28 17:15-0800 Greg Jung wrote: > 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.
Hi Greg: Please use the "git bisect" command to find the actual commit where this bad behaviour starting occurring. That will provide some useful overall context to the other things you discovered below. Alan > > 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. __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel