I would be interested in seeing the screencast.  For the websocket, are you
using "Comet" (which is what we use for our live data through the used of
orbited and STOMP, so I could see being able to do interactivity, but
thought it would be too slow for interactivity, which is why we went with
FLOT and were planning to start adding functionality--legends, etc.), or the
new proposed html5 websocket?

William

On Fri, Jun 18, 2010 at 3:01 AM, Ludwig Schwardt
<ludwig.schwa...@gmail.com>wrote:

> Hi,
>
> On Thu, Jun 17, 2010 at 8:07 PM, william ratcliff
> <william.ratcl...@gmail.com> wrote:
> > How do you deal with interactivity?
>
> When you create a figure, a WebSocket server is spawned on its own
> socket, with its own thread. The client (browser) then interacts with
> these threads. Zooming, panning and resizing are all done on the
> server side, under request from the client. This allows you the full
> functionality of matplotlib, as this corresponds to how other
> interactive backends work. The interactivity is better than expected -
> with local connections we achieve 40 frames per second while animating
> a 2000-point plot, for example.
>
> We also provide a management port, which serves as the portal for the
> available figures. At the start of your session, you connect the
> browser to this management port. Thereafter, new figures pop up as new
> thumbnails on this page, and can be selected for viewing. This port
> also provides the static HTML/JS framework for the plots.
>
> This interactivity is what makes it a true replacement for the other
> interactive backends. If people are interested, we can put together a
> screencast of the functionality.
>
> Ludwig
>
------------------------------------------------------------------------------
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
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to