From: Bruce S. <Bru...@nc...> - 2009-08-29 14:51:29
|
Thanks for catching this! Yes, the documentation is indeed self-contradictory; only gdots accepts a list of points, but they all should; this is an oversight. It involves I think a pretty simple fix to graph.py -- just emulate for the other objects what's done for gdots. Bruce Sherwood Jon Schull wrote: > The documentations seems to be self-contradictory (can a list be used > for all the g* objects or just the gdots object)? > > > When you create a gcurve, gdots, gvbars, or ghbars object, you can > provide a list of points to be plotted, just as is the case with the > ordinary curve object: > values = [(1,2), (3,4), (-5,2), (-5,-3)] > data = gdots(pos=values, color=color.blue) > /This list option is available only when creating the //gdots// object./ > > > I find it works with gdots but not with gcurve.... > > Jon Schull sc...@di... <mailto:sc...@di...> > cell: 585-738-6696 > Associate Professor Rochester Institute of Technology > > > > On Wed, Aug 26, 2009 at 5:24 PM, Bruce Sherwood <Bru...@nc... > <mailto:Bru...@nc...>> wrote: > > In the contributed section of vpython.org <http://vpython.org> is a > new povexport-2009-08-26.zip > package which lets you specify that a specific object to be exported > to POV-Ray > and ray-traced not only should not cast a shadow but also should not > make any > reflections in other objects. By specifying no_shadow=True and > no_reflection=True for an object you have the capability of making > an object be > "unreal" in the final raytraced image. A good example is a curve object > representing a trajectory of a moving object. > > Bruce Sherwood > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > <mailto:Vis...@li...> > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |