Re: easiest way to plot x,y graphically during run-time?

2009-06-04 Thread Esmail
Peter Pearson wrote: On Thu, 04 Jun 2009 03:29:42 -0500, Nick Craig-Wood wrote: [snip] Here is a demo with pygame... [snip] And just for completeness, here is a demo with PyGUI, written in similar style. Thanks for this too! Esmail -- http://mail.python.org/mailman/listinfo/python-list

Re: easiest way to plot x,y graphically during run-time?

2009-06-04 Thread Esmail
Scott David Daniels wrote: Esmail wrote: Scott David Daniels wrote: Esmail wrote: ... Tk seems a bit more complex .. but I really don't know much about it and its interface with Python to make any sort of judgments as to which option would be better. This should look pretty easy: Thanks Sc

Re: easiest way to plot x,y graphically during run-time?

2009-06-04 Thread Esmail
Nick Craig-Wood wrote: Here is a demo with pygame... Thanks Nick, I'll be studying this too :-) Esmail -- http://mail.python.org/mailman/listinfo/python-list

Re: easiest way to plot x,y graphically during run-time?

2009-06-04 Thread Peter Pearson
On Thu, 04 Jun 2009 03:29:42 -0500, Nick Craig-Wood wrote: [snip] > Here is a demo with pygame... [snip] And just for completeness, here is a demo with PyGUI, written in similar style. (I'm a PyGUI newbie, so constructive criticism would be appreciated.) from GUI import Window, View, application

Re: easiest way to plot x,y graphically during run-time?

2009-06-04 Thread Scott David Daniels
Esmail wrote: Scott David Daniels wrote: Esmail wrote: ... Tk seems a bit more complex .. but I really don't know much about it and its interface with Python to make any sort of judgments as to which option would be better. This should look pretty easy: Thanks Scott for taking the time to s

Re: easiest way to plot x,y graphically during run-time?

2009-06-04 Thread Nick Craig-Wood
Esmail wrote: > Scott David Daniels wrote: > > Esmail wrote: > >> ... Tk seems a bit more complex .. but I really don't know much about > >> it and its interface with Python to make any sort of judgments as > >> to which option would be better. > > > > This should look pretty easy: > > Thanks

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Esmail
Scott David Daniels wrote: Esmail wrote: ... Tk seems a bit more complex .. but I really don't know much about it and its interface with Python to make any sort of judgments as to which option would be better. This should look pretty easy: Thanks Scott for taking the time to share this code

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Scott David Daniels
Esmail wrote: ... Tk seems a bit more complex .. but I really don't know much about it and its interface with Python to make any sort of judgments as to which option would be better. This should look pretty easy: import Tkinter as tk class Mover(object): def __init__(self, ca

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Brian Blais
On Jun 3, 2009, at 12:15 , Esmail wrote: Gökhan SEVER wrote: It seems like you want to animate your data. You may want to take a look at Matplotlib examples or Mayavi for 3D I've used Matplotlib to plot points that were saved during runtime to a file. I wonder if I could skip that step and d

RE: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread esmail bonakdarian
Hi Brian, Thanks for the code sample, that looks quite promising. I can run it and understand most of it - my knowledge of pylab/matplotlib is still quite rudimentary. I wish there was a good manual/tutorial that could be printed off (or for that matter a book) on this as it seems quite cabable a

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Esmail
ma wrote: Try out PyChart, it's a very complete and has a great interface. I use it to generate statistics for some of our production machines: http://home.gna.org/pychart/ Thanks for the suggestion and link, I'm not familiar with this, but will check it out. If I can get matlibplot to work it

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Esmail
Mensanator wrote: On Jun 3, 10:53 am, Esmail wrote: Hi all, I am trying to visualize a number of small objects moving over a 2D surface during run-time. I was wondering what would the easiest way to accomplish this using Python? Try Turtle Graphics using goto's. With pen up! :-) hehe .. ye

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Mensanator
On Jun 3, 10:53 am, Esmail wrote: > Hi all, > > I am trying to visualize a number of small objects moving over > a 2D surface during run-time. I was wondering what would the easiest > way to accomplish this using Python? Try Turtle Graphics using goto's. With pen up! :-) > Ideally I am looking f

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread ma
Try out PyChart, it's a very complete and has a great interface. I use it to generate statistics for some of our production machines: http://home.gna.org/pychart/ On Wed, Jun 3, 2009 at 1:28 PM, Esmail wrote: > Gökhan SEVER wrote: >> >> I don't know how easy to use pygame or pyOpenGL for data ani

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Esmail
Gökhan SEVER wrote: I don't know how easy to use pygame or pyOpenGL for data animation comparing to Mayavi. Mayavi uses VTK as its visualization engine which is an OpenGL based library. I would like to learn more about how alternative tools might be beneficial say for example atmospheric part

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Gökhan SEVER
I don't know how easy to use pygame or pyOpenGL for data animation comparing to Mayavi. Mayavi uses VTK as its visualization engine which is an OpenGL based library. I would like to learn more about how alternative tools might be beneficial say for example atmospheric particle simulation or realis

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Esmail
Hello Diez, Diez B. Roggisch wrote: pygame certainly suited, but also Tk with it's canvas-object. I used pygame a long time ago, barely remember it, but I think it was pretty easy to use. Tk seems a bit more complex .. but I really don't know much about it and its interface with Python to ma

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Esmail
Gökhan SEVER wrote: It seems like you want to animate your data. You may want to take a look at Matplotlib examples or Mayavi for 3D I've used Matplotlib to plot points that were saved during runtime to a file. I wonder if I could skip that step and directly plot during runtime updating the g

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Gökhan SEVER
It seems like you want to animate your data. You may want to take a look at Matplotlib examples or Mayavi for 3D animations ( http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/mlab_animating.html?highlight=animation ) Gökhan On Wed, Jun 3, 2009 at 10:53 AM, Esmail wrote:

Re: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread Diez B. Roggisch
Esmail wrote: > Hi all, > > I am trying to visualize a number of small objects moving over > a 2D surface during run-time. I was wondering what would the easiest > way to accomplish this using Python? Ideally I am looking for a shallow > learning curve and efficient implementation :-) > > These