t; from subprocess import Popen, PIPE
>
> my_output = file('output1.ps', 'w')
> p1 = Popen(["psxy"], stdin = PIPE, stdout=my_output)
> p1.stdin.write(my_format(array))
> p1.communicate()
> my_output.close()
>
> I've never used that, th
Hi,
I have a bunch of x-y data contained in an array. I would like to
plot the data using an
external program (psxy in GMT). The plotting program takes x-y
couples as standard
input. How do I get the data into the system call? I used to do
things in csh and awk,
i.e., something like
aw