[sage-support] polygon from list of points

2010-02-04 Thread Eli Brosh
Hello, I have an interesting problem and I hope it is possible to solve it using sage. I have a scanned digitized graph of a magnetic hysteresis loop. That is, I have a list of points [(H0,B0),(H1,B1)(Hn,Bn)] however, the points are not ordered in any meaningful way. In order to calculate the h

[sage-support] Re: polygon from list of points

2010-02-04 Thread Eli Brosh
Feb 4, 2010 at 10:31 AM, Eli Brosh wrote: > Hello, > I have an interesting problem and I hope it is possible to solve it using > sage. > I have a scanned digitized graph of a magnetic hysteresis loop. > That is, I have a list of points [(H0,B0),(H1,B1)(Hn,Bn)] > howe

[sage-support] plotting on-screen with pylab in sage -python

2010-07-30 Thread Eli Brosh
Hello, I am trying to use sage -python as an up-to-date python distribution. While computation goes fine, I have a problem with output. Printing on-screen is OK but plotting with pylab does not work. e.g. a simple script like: from sage.all import * from pylab import * plot([1,2,3],[1,2,3],