| 1 | initial version |
The documentation of Point states:
Note this should normally be used indirectly via "point" and friends
Indeed, you can do
point([(1,2),(2,3)])
which returns a Graphics object. Is that what you want?
If you want to do anything else with the points then I would just store them as tuples, e.g.
pts = [(1,2), (2,3)]
pts_plot = points(pts)
With the (stored) plot you can also do other things, e.g.
pts_plot + plot(1+x, (x,1,2))
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.