Hi Arjun,<br><br>I think Matplotlib would be the best choice taking in count that we probably want to work analysing bio-signals, i see that Matplotlib has splendid examples like <br><br><a href="http://matplotlib.sourceforge.net/screenshots/mri_with_eeg.py">mri_with_eeg.py</a> and <br>
<a name="eeg"></a> <a href="http://matplotlib.sourceforge.net/screenshots/eeg.py">eeg.py</a><br> <br>So we have a nice framework to begin with.<br><br> Also without knowing too much about it, the problem about the large<br>
size could be worked out as you suggested.<br><br><br>cheers!<br><br><div class="gmail_quote">On Feb 7, 2008 2:20 AM, Arjun Sarwal <<a href="mailto:arjun@laptop.org">arjun@laptop.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>In continuation with my previous email[1] in which I had mentioned<br>that I was looking for python packages that would enable me to do<br>graphing/plotting of data in various formats. I searched through a<br>series of packages. One that I really liked was gtksheet (or<br>
gtkextra?)[2] which had various plotting functions (and also a<br>spreadsheet like interface, which I would eventually need) but there<br>hasn't been any development on that since a long time and that package<br>depends pygtk1 and python <<2.4 so it seems I can't use it.<br>
<br><br>After searching through more packages it seems to me that I have two options --<br><br>(A) PyCha [3]<br>Pros<br>* Very small package - 30KB. Just need to include these few python files [4]<br><br>Cons<br>* Very limited types of representations - just line, bar and pie chart<br>
* For displaying it within a gtk window one needs to do some hackish<br>stuff. like making a cairo surface and cairo context and copying the<br>surface from within the python modules to the main program etc.<br><br><br>(B) Matplotlib [5]<br>
Pros<br>* A __huge__ variety of display methods a large number of graphs, and<br>a large number of built in mathematical functions<br>* A large community develops on and/or around it. Quite well known.<br>* There is a well defined and supported method for embedding it in gtk<br>
<br>Cons<br>* Large size. Just the rpm is about 5MB. It requires python-dateutils<br>and pytz. The pytz rpm is another about 6MB<br><br><br><br>I am veering towards Matplotlib because it has some really amazing<br>functionality (see the screenshots page[4])<br>
<br>The solution to the large size could be that we fork the upstream<br>package by removing certain parts that we don't require. There are<br>things that we don't need. For example in the rpm that I downloaded I<br>
noticed that we could remove the examples and also remove support for<br>other backends (just keep the gtk backend support)<br><br><br><br>Please give comments/feedback/suggestions that would help set a<br>direction for development.<br>
<br><br>thanks<br>Arjun<br><br>[1] <a href="http://lists.laptop.org/pipermail/sugar/2008-January/004211.html" target="_blank">http://lists.laptop.org/pipermail/sugar/2008-January/004211.html</a><br>[2] <a href="http://gtkextra.sourceforge.net/" target="_blank">http://gtkextra.sourceforge.net/</a><br>
[3] <a href="http://www.lorenzogil.com/projects/pycha/#Documentation" target="_blank">http://www.lorenzogil.com/projects/pycha/#Documentation</a><br>[4] <a href="http://www.lorenzogil.com/projects/pycha/browser/trunk/src" target="_blank">http://www.lorenzogil.com/projects/pycha/browser/trunk/src</a><br>
[5] <a href="http://matplotlib.sourceforge.net/screenshots.html" target="_blank">http://matplotlib.sourceforge.net/screenshots.html</a><br>_______________________________________________<br>Sugar mailing list<br><a href="mailto:Sugar@lists.laptop.org">Sugar@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/sugar" target="_blank">http://lists.laptop.org/listinfo/sugar</a><br></blockquote></div><br><br clear="all"><br>-- <br>Rafael Enrique Ortiz Guerrero <br>One Laptop Per Child<br><a href="mailto:rafael@laptop.org">rafael@laptop.org</a>