[CentralOH] Simple XY Graphing
godber at gmail.com
Sun Dec 4 00:09:30 CET 2011
Matplotlib is fantastic, I don't dispute that in the slightest. But
as it turns out, the dygraphs library is pretty simple. I have been
wanting to provide dynamic plots of spectra, rather than just static
image (mainly to easily enable and disable different lines).
With just some simple HTML and an already existing CSV file, I can put
this graph up in just a few seconds:
http://s3.godber.org/spectra/index.html (see the source)
On Sat, Dec 3, 2011 at 2:46 PM, Mark Erbaugh <mark at microenh.com> wrote:
> On Dec 3, 2011, at 3:48 PM, Austin Godber wrote:
>> library to generate a chart.
>> The benefit is you could do more dynamic things than with an image
>> (reporting values while hovering over the points). A disadvantage of
>> course is that static images are readily supported across browsers.
>> On Sat, Dec 3, 2011 at 8:13 AM, Thomas Winningham <winningham at gmail.com> wrote:
>>> For fully customized and accurate scatter plots for statistics, I
>>> think Eric's suggestion can't be beat on Python. I've played with a
>>> lot of other libraries for just really basic and general drawing, and
>>> those include PyCairo, PySVG, Python Imaging Library (just manipulate
>>> pixels) and then OpenGL things such as PyGame, NodeBox, etc ...
>>> PyCairo and PySVG are great for print, but the fastest way to get a
>>> bitmap is maybe PIL?
>>> On Sat, Dec 3, 2011 at 10:02 AM, Mark Erbaugh <mark at microenh.com> wrote:
>>>> On Dec 3, 2011, at 9:16 AM, Eric Floehr wrote:
>>>> I'd use matplotlib. The book "Matplotlib for Python Developers" has examples for dynamically generating graphs within Django and Pylons. I'm sure there are also examples on the web.
>>>> Thanks. I don't know anything about it, but I wonder if Matplotlib is overkill for what I need. I don't need the hover-overs (at least not now).
>>>> CentralOH mailing list
>>>> CentralOH at python.org
>>> CentralOH mailing list
>>> CentralOH at python.org
>> CentralOH mailing list
>> CentralOH at python.org
> CentralOH mailing list
> CentralOH at python.org
More information about the CentralOH