|
From: Thomas S. <t.s...@fz...> - 2009-06-22 14:27:10
|
when started in batch mode ('$ gnuplot t.plt') gnuplot
expects the data to be contained in the file t.plt when
plotting from the special filename '-'.
'-' is standard input in interactive mode only.
you may switch to interactive mode after executing
all the commands in 't.plt' with '$ gnuplot t.plt -'
but switching is done after the last command is
executed completely.
you may combine commands and data before piping
them into gnuplot:
(cat t.plt t.in; echo "e"; cat t.in; echo "e") | gnuplot
FastCatch wrote:
>
> ...
> plot 't.in' using 1:3 with boxes fs 0.75,\
> '' using 1:2 with boxes
> unset multiplot
>
> It works fine. However, if I change the source in plot line to: plot '-'
> ...
> and run it
>
> $ gnuplot t.plt
>
> I get an
>
> unset multiplot
> -:1:"t.plt", line 23: illegal month
>
> error (without ever having to actually enter anything).
> ...
>
--
View this message in context: http://www.nabble.com/reading-stdin-twice---fix-xtics-to-nonfix-time-tp24110262p24147810.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|