creating a two-column file
- From: hhegab@xxxxxxxxx
- Date: 8 Jan 2006 15:38:19 -0800
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
.
- Follow-Ups:
- Re: creating a two-column file
- From: Hans-Bernhard Broeker
- Re: creating a two-column file
- Prev by Date: Gnuplot on Windows - sending plot to STDOUT
- Next by Date: how to make a two column file
- Previous by thread: Gnuplot on Windows - sending plot to STDOUT
- Next by thread: Re: creating a two-column file
- Index(es):
Relevant Pages
|