From: Bruce S. <Bru...@nc...> - 2009-01-09 02:43:46
|
Thanks for the corrections, which I've checked into CVS. Bruce Sherwood Stef Mientki wrote: > thanks Bruce, > > Bruce Sherwood wrote: >> See the example programs stars.py or gas.py in the Visual 5 version, >> which have been rewritten to work either with Numeric (Visual 3) or >> numpy (Visual 5). I don't know why numpy made some seemingly trivial >> changes such as NewAxis -> newaxis. Annoying. > I didn't notice the demo stars (as I've under the name Nebula_20), > beautiful ! > If it was only the newaxis, it can also be set with > try: > NewAxis > except: > NewAxis = newaxis > (Because I use a pre-script, it's easier for me to put it there once) > But there is also a subtle change with "tolist", I see :-( > > Two minor remarks about the stars demo: > > print """ > Right button drag to rotate view. > Left button drag up or down to move in or out. > """ > shouldn't "left button" be "middle button" ? > > and you misses at the end where " t += dt" > Nsteps += 1 > > cheers, > Stef > > > ------------------------------------------------------------------------------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |