Re: [Matplotlib-users] ploting single and multiple points

2011-01-09 Thread Adam Mercer
On Sun, Jan 9, 2011 at 13:04, Benjamin Root wrote: > You have run into a peculiar numpy bug that I have reported several months > ago.  Essentially, np.loadtxt() does a squeeze() on the data right before > returning it.  Therefore, if there is only one line, the array returned is a > 1-d array ra

Re: [Matplotlib-users] ploting single and multiple points

2011-01-09 Thread Benjamin Root
On Sun, Jan 9, 2011 at 11:34 AM, Adam Mercer wrote: > Hi > > In one of my codes I need to plot several time series from different > files, the files are of the form > > 20100118 10 > 20100119 12 > 20100120 14 > 20100121 16 > 20100126 18 > 20100221 25 > 20100222 25 > 20100227 26 > 20100228 30 > >

[Matplotlib-users] ploting single and multiple points

2011-01-09 Thread Adam Mercer
Hi In one of my codes I need to plot several time series from different files, the files are of the form 20100118 10 20100119 12 20100120 14 20100121 16 20100126 18 20100221 25 20100222 25 20100227 26 20100228 30 I use something like the following to plot these: morning = numpy.loadtxt(morning_