Minh Nguyen schrieb: > Hi, > > On Wed, Jul 8, 2009 at 8:43 PM, somertime<[email protected]> wrote: > >> Hi all, >> i have a problem with 2D plotting. >> Given two arrays a,b, both contain real numbers. >> I need a graphic with Point = (a[i] , b[i]), 0 < i < len (a), >> len(a) = len(b) >> > > You mean something like this: > > ---------------------------------------------------------------------- > | Sage Version 4.0.2, Release Date: 2009-06-18 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > sage: a = [n for n in xrange(10)] > sage: b = [n^2 for n in a] > sage: point(zip(a, b)) > > Thanks a lot , it works. Regards Aki
--~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
