By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,627 Members | 1,211 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,627 IT Pros & Developers. It's quick & easy.

Drawing a graph

P: n/a
Hello list,

I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.

I don't care much about the output format.

Are there any specialized libraries for this, or should i use PIL?

Thanks.

--
Regards,
Ghirai.
Aug 13 '07 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Ghirai wrote:
Hello list,

I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.

I don't care much about the output format.

Are there any specialized libraries for this, or should i use PIL?
What about Gnuplot.py
http://gnuplot-py.sourceforge.net/
--
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
Aug 13 '07 #2

P: n/a
Ghirai wrote:
Hello list,

I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.

I don't care much about the output format.

Are there any specialized libraries for this, or should i use PIL?

Thanks.
ReportLab graphics works for me.

www.reportlab.org

-Larry
Aug 13 '07 #3

P: n/a
On 12 Sie, 21:09, Ghirai <ghi...@ghirai.comwrote:
Hello list,

I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.

I don't care much about the output format.

Are there any specialized libraries for this, or should i use PIL?

Thanks.

--
Regards,
Ghirai.
Matplotlib (http://matplotlib.sourceforge.net/)

Cheers,
Marek

Aug 13 '07 #4

P: n/a
I ended up using matplotlib (http://matplotlib.sourceforge.net).

Thanks for the input everyone.

--
Regards,
Ghirai.
Aug 13 '07 #5

P: n/a
Ghirai wrote:
Hello list,

I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.

I don't care much about the output format.

Are there any specialized libraries for this, or should i use PIL?
What about Gnuplot.py
http://gnuplot-py.sourceforge.net/
--
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
Aug 14 '07 #6

P: n/a
Ghirai wrote:
Hello list,

I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.

I don't care much about the output format.

Are there any specialized libraries for this, or should i use PIL?

Thanks.
ReportLab graphics works for me.

www.reportlab.org

-Larry
Aug 14 '07 #7

P: n/a
Ghirai wrote:
Hello list,

I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.

I don't care much about the output format.

Are there any specialized libraries for this, or should i use PIL?

Thanks.
ReportLab graphics works for me.

www.reportlab.org

-Larry

Aug 14 '07 #8

P: n/a
Ghirai wrote:
Hello list,

I need to draw a graph, 2 axes, 2D, nothing fancy.
One of the axes is time, the other one is a series of integers.

I don't care much about the output format.

Are there any specialized libraries for this, or should i use PIL?

Thanks.
Hey dude, why don't you just bite the bullet and implement your own
plotting classes using wxPython? For your need (nothing fancy, as you
said), relying on your own work is better, and making Python/wxPython
plots is not really difficult. I myself have implemented a complete
stock graphing application in Python using wxPython, including
candlesticks and the works. In the long run, you will be better of
relying on your own effort/understanding, believe me.

Good luck!

Baalbek
Aug 18 '07 #9

This discussion thread is closed

Replies have been disabled for this discussion.