We've hit some timing problems, so I ran some experiments using a
trimmed and modified version of x01c that just plots the first graph,
full size window, with plpoin but with variable numbers of points; I
used code=25, circles, but I think it doesn't make much difference apart
from plotting simple points. My trials with 100,000 points (in a single
set of arrays) show the following approximate times for rendering the
plot on the screen, in secs:

xwin 2.5
tk   3
xcairo 7.5
qtwidget  27

The tk window will resize and refresh the plot in about 2 seconds.
Curiously, the qtwidget window takes 53 seconds to resize the plot,
i.e., double the original time. Of course, the qtwidget preserves
circles as circles on resize whereas the tk one doesn't.

Plotting to files isn't so bad nor different. Here are some examples:

psc  3
svg  5
pngcairo  7.5
epsqt    7.2
svgqt    7.2
pngqt    5

I looked a bit at the plpoin() code and thought at first that the
problem was in the overhead to lookup and deal with all the hershey
stuff point by point rather than once for all the points, but the
resizing exercise suggests that the time is more likely associated with
talking to the screen (although the qt driver, like the xcairo one,
clearly draws off-screen and then flashes the result quickly).

Is there any simple or obvious way to speed all this up for the
qtwidget?

Thanks
Steve

-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz        Phone: +44-(0)20-7594-7660
Head, Space & Atmospheric Physics  Fax:   +44-(0)20-7594-7772
The Blackett Laboratory            E-mail: s.schwa...@imperial.ac.uk
Imperial College London            Office: Huxley 6M67A 
London SW7 2AZ, U.K.               Web: www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to