Hi Robert,
>

> Yes, thank you, this switching to a new page clears the plot window -
> but the growing memory consumption indicates that the content of the
> original page still exists.

I fixed the problem now, the page is cleared now if you use plclear()  
and do a consecutive replot/remake. This was actually not a problem of  
the wxWidgets driver, but of the plot buffer (which took me a while to  
sort out). Anyway, this solution might also be not optimal since the  
plot buffer is not cleared - if you replot the whole (old) plot will  
be plotted which is cleared at the end :). But I also did some other  
improvements, so you might try out the latest svn revision.

One solution would be to clear the plot buffer for such a command, but  
this is problematic, since not everything should be cleared I think,  
this has to be checked and tested. On the other hand it may be better  
to stick with pladv(0) and sort out the increasing memory consumption.  
At least plcear() does now what it should do even if it does it not  
"optimal".

Thanks for the report.

Regards,
Werner


--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to