Re: Create 3D Surface / Contour (with vpython?)

2009-06-17 Thread Gökhan SEVER
On Wed, Jun 17, 2009 at 12:58 PM, Philip Gröger < philip.groe...@googlemail.com> wrote: > Hi! > How can I create a 3D surface (or something like the picture on the FAQ > page http://www.vpython.org/contents/FAQ.html ) with python [or vpython]. > Didnt find anything in the Documentation under "grap

Re: Create multiple variables (with a loop?)

2009-06-05 Thread Gökhan SEVER
You could use locals() for dynamic variable names creation. Additionally, you can give to Mayavi a try for visualization of your data: http://code.enthought.com/projects/mayavi/ Gökhan On Fri, Jun 5, 2009 at 2:35 PM, Philip Gröger wrote: > Hi, > I need to create multiple variables (lets say

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 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: Question about locals()

2009-05-22 Thread Gökhan SEVER
Gökhan On Fri, May 22, 2009 at 9:43 AM, David Robinow wrote: > On Fri, May 22, 2009 at 10:27 AM, Gökhan SEVER > wrote: > ... > > serialc = np.loadtxt(sys.argv[1], skiprows=skiprows).T > > for i in range(20): > > locals()['serialc_bin' + str(i+1)] = seria

Re: Question about locals()

2009-05-22 Thread Gökhan SEVER
27;t know easier way than using locals() to construct variable-like identities in my program. Gökhan On Fri, May 22, 2009 at 3:34 AM, Gabriel Genellina wrote: > En Tue, 19 May 2009 14:06:04 -0300, Gökhan SEVER > escribió: > > I will make double sure myself while using locals() to

Re: Your Favorite Python Book

2009-05-21 Thread Gökhan SEVER
Hello, I received an autographed copy of CPP, 2nd Edition after joining to Safari's "What is Python" webcast. They published the recorded session online as well. Check http://www.safaribooksonline.com/Corporate/DownloadAndResources/webcasts.php As you will see from the lecture, he is a very motiv

Re: Question about locals()

2009-05-19 Thread Gökhan SEVER
< ste...@remove.this.cybersource.com.au> wrote: > Sorry for breaking threading, the original post is not being carried by > my ISP. > > > On Tue, 19 May 2009, Gökhan SEVER wrote: > > Hello, > > > > Could you please explain why locals() allow me to create varia

Question about locals()

2009-05-18 Thread Gökhan SEVER
Hello, Could you please explain why locals() allow me to create variables that are not legal in Python syntax. Example: locals()['1abc'] = 55. Calling of 1abc results with a syntax error. Shouldn't it be better to raise an error during the variable creation time? Thank you Gökhan -- http://mail

Re: help for documentation and license

2009-05-05 Thread Gökhan SEVER
Hi, Even though I don't know what your project does, you will need to use "Sphinx" to create semi-automatic documentation out of your project. I would recommend you to take a look a quality "free" Python module: Matplotlib (http://matplotlib.sourceforge.net/index.html) Go ahead, and check out the

Re: python docs for beginner programmer?

2009-05-03 Thread Gökhan SEVER
Hey, I am a person who gets bored too quickly, too especially reading technical materials, and if the author(s) have the habit of wondering off the subject often. So far, I like Wesley Chun's Core Python book the most as a Python beginner like you. He also has video training material on the same s