|
From: manouchk <man...@gm...> - 2006-04-05 14:26:50
|
Hi, Data file I use usually have a first line or more with comments and sometimes column with text. I used to use gnuplot that does skip au which with I wondering if there is an hidden possibilty to plot more or less directly from file. imagine the file : col1 col2 col3 col4 col5 col6 T3-4B 450 100 4.31 1.44 0 T3-4B 450 200 5.56 2.06 0 T3-4B 450 500 6.03 2.09 0 T3-4A 450 5000 9.71 2.16 0 that would be a function that plots column number 3 and 4 skipping first line and ignoring first column (that would put zeros in the array for example) It could have a syntax like that one: plotfromfile(file="data",using=(3,4),skippingline=1,ignorecolumn=[1]) is there a function in pylab that I missed and that already does something similar? |