Rahul wrote:
>
> Any sugesstions?
>
set border 127+256+512
set grid xtics ytics ztics
`cat data | sed 's/\(.*\) \(.*\) \(.*\)/set arrow from \1,\2,0 to
\1,\2,\3 nohead;/'` # on one line
splot "data" using 1:2:3 with points
The `cat ...` will create
set arrow from 1,1,0 to 1,1,5 nohead; set arrow ....
Because the backtic returns one single line you need the semicolon.
You can use awk or perl instead.; sed is learnt in one afternoon ;-)
--
Ton 't Lam


|