[newbie] plotting pairs of data

hugocoolens hugocoolens at gmail.com
Wed Dec 19 08:47:30 EST 2012


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.332702 0.849128', '0.432695 0.862158']

I suppose it is possible to plot x versus y using matplotlib, maybe
separating the data first in two arrays, but I'm not sure whether this
is necessary.
Can anyone here help me further

thanks
hugo



More information about the Python-list mailing list