Martin Jasny <mar...@ya...> writes:
> Hello,
>
> in order to be able to call Gnuplot from any program to diplay data I tried
> the following simple model case at the command line:
>
>>wgnuplot commandfile.txt
>
> The file commandfile.txt contains the following single line:
>
> plot sin(x)
>
> The window containing the plot of sin(x) appeared for a fraction of a second
> and disappeared.
There's an option /noend you can give :
wgnuplot /noend commandfile.txt
- oh - seems you can also spell it -noend or -persist these days.
It doesn't work quite the same as the x11 -persist option, but the
effect is similar. The plot window stays open, but you also get the
interactive window, with a prompt.
Interestingly,
wgnuplot commandfile.txt -
seems to work *better*, because the plot window stays up, but you
don't get the interactive window in this case. Closing the plot window
kills the whole process.
dd
--
Dave Denholm <dde...@es...> http://www.esmertec.com
|