On Tue, Mar 17, 2009 at 2:18 AM, David Simpson <david.simp...@chalmers.se>wrote:
>
> Now (from ipython):
> In [41]: plotfile("tester.txt",cols=(0,1))
> ---------------------------------------------------------------------------
> IndexError Traceback (most recent call last)
>
> ....
>
> )
> 1436 return identifier, r[identifier]
> 1437 elif is_numlike(identifier):
> -> 1438 name = r.dtype.names[int(identifier)]
> 1439 return name, r[name]
> 1440 else:
>
> IndexError: tuple index out of range
The default delimiter is ','. You need space. Eg
plotfile("tester.txt", cols=(0,1), delimiter=' ' )
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users