Re: [newbie] plotting pairs of data

2012-12-19 Thread Miki Tebeka
On Wednesday, December 19, 2012 6:38:30 AM UTC-8, Thomas Bach wrote: > On Wed, Dec 19, 2012 at 05:47:30AM -0800, hugocoolens wrote: > > ['0.0364771 0.55569', '0.132688 0.808496', '0.232877 0.832833', > > '0.332702 0.849128', '0.432695 0.862158'] > xs = [ float(x) for x, _ in map(str.split, l) ] > y

Re: [newbie] plotting pairs of data

2012-12-19 Thread Thomas Bach
On Wed, Dec 19, 2012 at 05:47:30AM -0800, hugocoolens wrote: > The data is available in Python in this format: > ['0.0364771 0.55569', '0.132688 0.808496', '0.232877 0.832833', > '0.332702 0.849128', '0.432695 0.862158'] > > I suppose it is possible to plot x versus y using matplotlib, maybe > sep

[newbie] plotting pairs of data

2012-12-19 Thread hugocoolens
I have a data set for which x and y-values are presented as pairs of floating point numbers: e.g. 0.0364771 0.55569 is the first pair . 0.132688 0.808496 is the second pair . . The data is available in Python in this format: ['0.0364771 0.55569', '0.132688 0.808496', '0.232877 0.832833', '0.33