You could choose to put the commands in a file and capture the output (as you did in the first case) or do the commands in the program and capture the output (with >somefile in the open) or you could print the header with your script, provide the plot commands in your script and let gnuplot write to the standard output.
HTH, --traveler
In reply to Re: gnuplot output to browser
by traveler
in thread gnuplot output to browser
by kryberg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |