Re: [Plplot-devel] Multiple plsetopt() calls before plend()

2008-06-20 Thread Werner Smekal
Hi, I'm sorry that I needed such a long time to think about that problem, but it needed some time to understand the source code behind all that (apart from doing much other stuff). Anyway, I think now that I have understood most of the code and how it was intended to be used. There is actually

Re: [Plplot-devel] Multiple plsetopt() calls before plend()

2008-03-03 Thread Alan W. Irwin
On 2008-03-04 11:28+1030 Jonathan Woithe wrote: >> [Alan said:]At this point I don't know whether these issues are due to >> specific driver >> implementation problems, drvopt problems for multiple streams, a combination >> of the two, or something else. > > This I presume is still with my patch

Re: [Plplot-devel] Multiple plsetopt() calls before plend()

2008-03-03 Thread Jonathan Woithe
Hi Alan > > thanks again for your comments and for the patches. As usual I already > > worked on a fix and in fact made nearly the identical changes to the > > code as you suggested (commited to svn just now). About the merging > > the options - this we should discuss here on the list. I conclude

Re: [Plplot-devel] Multiple plsetopt() calls before plend()

2008-03-03 Thread Jonathan Woithe
Hi Werner > thanks again for your comments and for the patches. As usual I already > worked on a fix and in fact made nearly the identical changes to the > code as you suggested (commited to svn just now). About the merging > the options - this we should discuss here on the list. I conclude

Re: [Plplot-devel] Multiple plsetopt() calls before plend()

2008-03-03 Thread Alan W. Irwin
On 2008-03-03 09:25+0100 Werner Smekal wrote: > Hi Jonathan, > > thanks again for your comments and for the patches. As usual I already > worked on a fix and in fact made nearly the identical changes to the > code as you suggested (commited to svn just now). About the merging > the options - this

Re: [Plplot-devel] Multiple plsetopt() calls before plend()

2008-03-03 Thread Werner Smekal
Hi Jonathan, thanks again for your comments and for the patches. As usual I already worked on a fix and in fact made nearly the identical changes to the code as you suggested (commited to svn just now). About the merging the options - this we should discuss here on the list. I conclude now

Re: [Plplot-devel] Multiple plsetopt() calls before plend()

2008-03-02 Thread Jonathan Woithe
Hi Werner > > there is also a problem in the plsetopts() code when calling device > > options, that when you call this function twice it forgets about the > > first call - and this may have to do what you are describing. I think this is another symptom of the same problem. I've had a closer

[Plplot-devel] Multiple plsetopt() calls before plend()

2008-02-28 Thread Jonathan Woithe
Hi guys I have a question regarding the calling of plsetopts() multiple times to set device options without any intervening plend() call. From a brief look at the plplot source code it seems that doing this may cause a memory leak. Calling plsetopts() ends up at c_plparseopts() via c_plsetopt()