in reply to Graphics for a waveform viewer

From my experience with Gtk2 (upon which Wx can be built on some systems), svg will be very slow. However, if you use one of the modern canvas type widgets, ( I don't know Wx), like the Gnome2::Canvas or the Goo::Canvas, you can do pixel zooming quite easily. See

Goo::Canvas Graphing demo

Gnome2::Canvas Scribble with Image and

Tk Realtime data aquisition for some non-Wx graphing ideas, that you may use with Wx.


I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: Graphics for a waveform viewer
by gwadej (Chaplain) on Dec 08, 2008 at 00:02 UTC

    The speed of SVG as a graphics format depends greatly on the viewer and what kinds of changes you are making. I'm working on a project to measure some of the current viewers to determine reasonable estimates of what update rate they can maintain.

    I have run non-trivial SVG applications driven by scripting on the order of 30-50 updates per second on multiple viewers.

    Unfortunately, the feasibility of using SVG for this is a function of what update frequency you need and the complexity of your display (mostly the dynamic parts).

    G. Wade