Re: [Matplotlib-users] Loading txt files

2011-11-02 Thread yelena
x27;,skip_header=1) > > print dataset > > x=dataset[:,0] > y=dataset[:,1] > > plt.figure(1) > plt.plot(x,y) > plt.plot(x,y,'ro') > plt.show() > -- > > > On Nov 1, 2011, at 9:29 , yelena wrote: > >> >> I have numpy. &

Re: [Matplotlib-users] Loading txt files

2011-11-01 Thread yelena
me',skip_header=1) > > http://docs.scipy.org/doc/numpy/reference/generated/numpy.genfromtxt.html > > On Tue, Nov 1, 2011 at 8:50 AM, yelena wrote: >> >> Hi! >> I'm new at Matplotlib, so I need a little help. >> I was trying to load data from txt files wit

[Matplotlib-users] Loading txt files

2011-11-01 Thread yelena
Hi! I'm new at Matplotlib, so I need a little help. I was trying to load data from txt files with no luck. I have 2 collumns in txt files and I need to plot a XY graph. Should I modify txt file to other format? Can someone give me a simple example for doing this? In txt file could be such inform