[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Maurizio
I have another question. What do you think about the SAGE functions that are going to use FLOT? In my opinion, simply providing a FLOT spkg that adds the javascript, will not provide any additional feature to the users, because all the people that would have been capable to write the js powered

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Kenny
During this week end I'll try to put together an spkg with a simple flot graph without the pop-up using floating DIS the same as the jsmath. Hope this will renew the interest in this interactive plotting. After that it will be possible to discuss and investigate the pros and cons of this

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Jason Grout
Maurizio wrote: I have another question. What do you think about the SAGE functions that are going to use FLOT? After we have an spkg, I think we should add a 'flot' option to the viewer argument of the show command that would show the plot using FLOT if FLOT is installed. Is this the sort

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Tom Boothby
In an ideal world, all graphics objects would have the ability to render themselves in FLOT. There are currently some issues with this: 1) FLOT doesn't appear to be able to make shapes -- circles, polygons, etc. 2) Graphics objects have an additive structure: (circle + text + plot).show() works

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Robert Bradshaw
On Feb 27, 2009, at 9:27 AM, Tom Boothby wrote: In an ideal world, all graphics objects would have the ability to render themselves in FLOT. There are currently some issues with this: 1) FLOT doesn't appear to be able to make shapes -- circles, polygons, etc. 2) Graphics objects have an

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Kenny
I think that it is quite hard to develop a graphic platform that perform well displaying both 3D 2D and general graphics... sometimes it is good to have some interactive 2D plotting and use other graphical engine for complex diagram such as polar or smith chart. Apart from this consideration I

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Kenny
I think I'm missing the point, is a canvas matplolib backend able to work as client side plotting render?? I've seen the @interact method and with it I was able to change the zoom level moving a slider, that is quite enough, but it has a drawback, every time you move the slider the client will

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Robert Bradshaw
I do know that matplotlib works with dynamic backends, so I would imagine it would be able to do the job without a constantly poling the server. On Feb 27, 2009, at 11:59 AM, Kenny wrote: I think I'm missing the point, is a canvas matplolib backend able to work as client side plotting

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Jaap Spies
Kenny wrote: I think that it is quite hard to develop a graphic platform that perform well displaying both 3D 2D and general graphics... sometimes it is good to have some interactive 2D plotting and use other graphical engine for complex diagram such as polar or smith chart. Did you

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Maurizio
Guys, sorry to miss this very interesting conversation, but I'll be out of town for work during the next week, and I should really be going to prepare the luggage right now! ;) My flight departs in 12 hours, and I should sleep a little bit as well. Hopefully, I'll catch on this next week

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Jason Grout
Kenny wrote: I think I'm missing the point, is a canvas matplolib backend able to work as client side plotting render?? I've seen the @interact method and I think so. I see the canvas backend as behaving like the normal GUI backends to matplotlib, which allow panning, zooming, picking

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Kenny
Now I understand wot you mean when you say matplotlib backend! :) sorry eventually I got the point... anyway thats great, using the same code that matplotlib use, and at the end be able to decide to plot a pretty png, render a javascript that uses FLOT or maybe a good PDF for inclusion in latex

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Kenny
Quite impressive... I'm used to the 3D surface plot that cames out from mathcad and matlab, this seem to be on another level. I've downloaded the spkg but now I don't feel brave enough to install it, I will try it on my ubuntu box tomorrow, this a thing that works better during the day! On 27

[sage-devel] Re: Interactive plot desiderata collection

2009-02-27 Thread Jaap Spies
Kenny wrote: Quite impressive... I'm used to the 3D surface plot that cames out from mathcad and matlab, this seem to be on another level. I've downloaded the spkg but now I don't feel brave enough to install it, I will try it on my ubuntu box tomorrow, this a thing that works better during

[sage-devel] Re: Interactive plot desiderata collection

2009-02-26 Thread Jason Grout
Maurizio wrote: Hi all, as you know, Kenny and me recently worked on a notebook demo to show the possibility to include a javascript enhanced plot package (namely FLOT) into the SAGE notebook. The demo is currently hosted at: http://www.sagenb.org/pub/285/ As you can see, this is just