creating a two-column file



I have a code which gives me my results as column of numbers just like
the following:
2
3
-8
9
57
5
34
..
..
..
-10

Is it possible to make a script which can take these values and put
them in a table forum such that they form a second column, the y
column, and get the form:
2 2
4 3
6 -8
8 9
10 57
12 5
14 34
.. .
.. .
.. .
100 -10

the idea is that I want to add the first column, which runs in a
controlled pattern (add 2 each step), to the results column so I can
have a file with two columns which fits the gnuplot.

I hope I could make it clear

thanks

.



Relevant Pages

  • how to make a two column file
    ... I use 'seq' to produce a sequesnce of numbers to stand for the vlaues ... results column so I can have a file with two columns which fits the ... gnuplot. ... Prev by Date: ...
    (comp.graphics.apps.gnuplot)
  • Re: google your on-line name
    ... > reference that with people who got an A and went on to be dentists, ... > in the US fits that description. ... Prev by Date: ...
    (sci.med.dentistry)
  • great
    ... which in turn calls my C++ routine? ... I'm unclear on how all this fits together. ... Prev by Date: ...
    (microsoft.public.win32.programmer.ole)
  • Re: Cell format requires manual edit
    ... It fits the criteria ... the resultant values to numbers. ... Prev by Date: ...
    (microsoft.public.excel)
  • FS: Burley Trailer with Jogging Kit
    ... Fits two ... kids. ... Atlanta area. ... Prev by Date: ...
    (rec.bicycles.marketplace)