[Matplotlib-users] loadtxt/usecols - list index out of range

2009-11-16 Thread Manuel Wittchen
Hi, I'm trying to make my first matplotlib-plot from a datafile. The datafile is tab-separated and looks like this: # x-axisy-axis 0 1 1 2 2 3 3 4 4 5 5 6 So my ploting-script is: #!/usr/bin/env python from pylab import * import numpy as np inputfile

Re: [Matplotlib-users] loadtxt/usecols - list index out of range

2009-11-16 Thread Ryan May
On Mon, Nov 16, 2009 at 4:34 PM, Manuel Wittchen manuel.wittc...@gmail.com wrote: Hi, I'm trying to make my first matplotlib-plot from a datafile. The datafile is tab-separated and looks like this: # x-axis        y-axis 0       1 1       2 2       3 3       4 4       5 5       6 So

Re: [Matplotlib-users] loadtxt/usecols - list index out of range

2009-11-16 Thread Gökhan Sever
On Mon, Nov 16, 2009 at 4:34 PM, Manuel Wittchen manuel.wittc...@gmail.comwrote: Hi, I'm trying to make my first matplotlib-plot from a datafile. The datafile is tab-separated and looks like this: # x-axisy-axis 0 1 1 2 2 3 3 4 4 5 5 6 So

Re: [Matplotlib-users] loadtxt/usecols - list index out of range

2009-11-16 Thread Manuel Wittchen
Problem solved!** Thanks for all the tipps, but they didn't fix the problem. There never was a problem with usecols or something. My mistake was, that I've used the plot-script-file as the datainput-file, by accident. Sorry for wasting your time with this. I think it's too late