I'm working on creating Ruby bindings to PLplot, much like the Ruby bindings to PGPLOT (http://pgplot.rubyforge.org/). I've gotten a fair amount of the API done and the first seven or so examples "ported". I'll be happy to share my work once it gets a little more complete.
I've been testing my bindings using "irb", which is an interactive Ruby shell (analogous to Python's ipython). I've noticed that when I invoke a plotting function (e.g. plhist) only part of the plot (e.g. part of the histogram) appears immediately. The remainder of the plot does not appear until more plotting functions are called or plflush is called. I assume this is due to buffering in the stream, which may be good for efficiency, but is not so convenient for interactive plotting. Is there a way to make a stream be "synchronous" (i.e. unbuffered)? Thanks, Dave ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel