Re: [Plplot-devel] Why is the set_stream() call commented out for plstream::fill, etc.

2014-10-20 Thread phil rosenberg
] Why is the set_stream() call commented out for plstream::fill, etc. On Thu, Oct 16, 2014 at 04:34:53PM -0700, Alan Irwin wrote: On 2014-10-16 20:39+0100 Andrew Ross wrote: Alan, It's because these three functions are callback functions which are called from another plplot function

[Plplot-devel] Why is the set_stream() call commented out for plstream::fill, etc.

2014-10-16 Thread Alan W. Irwin
Hi Andrew: I just noticed that the set_stream() call was commented out in bindings/c++/plstream.cc for plstream::fill, plstream::fill3, and plstream::gradient while it appears in all (as far as I can tell) other calls. Why are those 3 functions exceptions, or is this a minor bug that has

Re: [Plplot-devel] Why is the set_stream() call commented out for plstream::fill, etc.

2014-10-16 Thread Andrew Ross
Alan, It's because these three functions are callback functions which are called from another plplot function. They do not operate directly on a stream. The C++ class maintains a stream variable for each instance of the PLStream class. This means you can have multiple streams (i.e. windows /