Hi,

I've developed a GTK application under linux (debian etch) which plots 
my simulation data really nicely. I'm now trying to implement some 
caching to avoid a) loading datafiles which are 'recent' and b) 
replotting and redrawing data which is 'recent' (assuming this would be 
quicker!). I have managed the former rather easily using a fifo type 
structure, and the latter could be easy if I had some idea how to cache 
the buffer, pixels or whatever is most convenient of the canvas. For 
example, could I have multiple canvases, and switch which one is 
displayed in the gtk container? or would it be better to save the 'data' 
(pixels? vector graphics?) of the canvas somewhere, and copy that 
backwards and forwards? Any ideas?

Thanks,

-- 
Neil Pilgrim

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to