Hi Torquil,

thanks again for this report. I made changes to wxwidgets driver which  
should at least partially resolve your problems.
>
> /* Driver wxwidgets: Much slower than xcairo when not
> including plsetopt("drvopt", "smooth=0"), else about as
> as fast as xcairo, maybe a tad faster.

If you don't set the smooth option to 0 (it's set to 1 by default),  
the font will be plotted antialized. This looks rather pretty, but is  
very slow compared to the non-antialized case. So in your case, set  
smooth always to 0. You should also be able to improve the plotting  
speed a little bit, by setting the antialized option to 0 (it's also  
set to 1 by default) - here the lines, etc. are plotted antialized,  
looks very nice, but has small impact on the speed (about 10-20%).  
Only in case your plplot version supports this option.

>
> With pgclear() as below: it only plots some of the box plus
> the tickmark-numbers, very flickering, with no
> lines inside the plot. Only the first frame has a clearly
> visible box (a different problem that is fixed using the
> smooth=0 option). Using -db has no effect.

There is no db option in the wxwidgets driver, since it's used by  
default. In order to improve the time needed for a plot, the wxWidgets  
driver plots into a memory canvas and  only updates the window after  
about 5000 commands (lines, fills, etc.). It also doesn't copy the  
whole window, only parts of it, which changed. The reason why you  
didn't see much when using pgclear() was, that I didn't update the  
window before I cleared it :) Therefore much of what was plotted never  
made it to the screen :).

Anyway, I commited the change to the svn repository and if you compile  
plplot from the repository, there should be now no flickering and nice  
animation of your plot.

>
> Without pgclear(): Makes a plot that filles a disk, but
> very slowly compared to xwin and xcairo. -db has no
> effect.

Sure. But shouldn't be much slower if you use the smooth=0 option.

>
> Since pgclear() doesn't work, I found I could use pgadv(0)
> together with the -np option. Gives lots of flickering, more
> than xcairo */

I can see that too, but I have still to investigate why this happens.
>
>
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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to