From: Bruce S. <Bru...@nc...> - 2011-06-14 21:08:34
|
The current version (5.71) of VPython lets you do exactly what you are requesting. Here's the new paragraph from the documentation: Offsets: If you specify xmin or ymin to be greater than zero, or xmax or ymax to be less than zero, the crossing point (origin) of the x and y axes will no longer be at (0,0), and the graphing will be offset. If you offset the origin of the graph, you must specify xmax to be greater than xmin, and/or ymax to be greater than ymin. Bruce Sherwood On Tue, Jun 14, 2011 at 2:29 PM, Seth Morton <sm...@ps...> wrote: > Hello, > > I am trying to plot the visual portion of the electromagnetic spectrum > (350-750 nm) and nothing else, so I don't have any data points below > 350. I would like to set the lower limit of the x-axis to 350, but it > seems that the xmin attribute of the gcurve object is hard-coded to only > accept negative values. Is there a reason for this? More importantly, > does anybody know of a hack to get around this limitation? Right now I > have a plot where half of it is dead-space. > > Seth Morton > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |