THANKS!!
I am not a native speaker and sometimes I find it very hard to find a
keyword to look for...
that tip was excellent, thank you a lot
On 3 May 2011 22:27, Buchholz, Greg wrote:
>> From: Pau [mailto:vim.u...@googlemail.com]
>>
>> PS: I thought I would probably give a better example
>>
>>
> From: Pau [mailto:vim.u...@googlemail.com]
>
> PS: I thought I would probably give a better example
>
> The goal is to have all the data files plotted in a single graph
import glob
for filename in glob.glob('*.dat'):
if 'e' in set(filename): #or whatever
#do something for files th
On 5/3/2011 2:37 PM, Pau wrote:
> I am afraid that I know the answer to the question: use python
>
> But my problem is that I do not really know python.
Fortunately, the documentation is excellent:
http://docs.python.org/library/glob.html
hth,
Alan Isaac
would it be easier to have all data in a single file and then tell
matplotlib to plot different parts of that file?
The file would look like:
.
.
.
13.0576 -66.6586 -9.6419 34.1672 1.445e+05 4962
13.0576 -55.4192 44.0864 16.7687 1.445e+05 4963
13.0576 65.0328 -38. -215.3602 1
PS: I thought I would probably give a better example
In a directory I have these files:
2537.dat
5043.dat
5075.dat
7581.dat
1.009e+04.dat
1.551e+04.dat
1.805e+04.dat
2.056e+04.dat
4.955e+04.dat
5.209e+04.dat
5.459e+04.dat
5.462e+04.dat
1.445e+05.dat
1.47e+05.dat
5.016e+05.dat
5.041e+05.dat
5.06