[cairo] CairoPlot, ploting graphics with Python and PyCairo
Steve
stevech1097 at yahoo.com.au
Wed Jul 2 20:19:34 PDT 2008
On Wed, 2008-07-02 at 12:00 -0700, cairo-request at cairographics.org
wrote:
> I had a quick play with your charting library and it looks good. If I
> can offer a feature request....
>
> Doing animated (i.e. updated @ about 1-2Hz, moving window and fixed
> scaling, or infrequent axis autoscaling) large timeseries datasets in
> matplotlib is painful. If your library could provide some sort of api
> like
>
> p = Plot(animated=True, x=None, y=[])
> for i in range(0,10000000:
> p.add_y(42)
>
> This would give a nice animated line plot (like gnome system monitor).
> It should be smart about when it rescales the Y axis, if/when it
> adjusts
> the x axis, and only redraws the new point and parts of the data in
> screen.
>
> I will buy you beers
>
> Thanks
>
> John
There's already an existing python library for displaying time-sampled
data
http://jstripchart.sourceforge.net/
which looks quite good.
Steve
More information about the cairo
mailing list