|
From: Mikhail K. <mko...@gm...> - 2013-01-16 11:39:52
|
you could use external data processing in this case, like:
echo "plot \"< awk '{ if (\$3==\\\"A\\\") print}' data\" u 1:2 w l" |
gnuplot --persist
it is possible to avoid ugly escaping by putting the processing commands
into a separate shell script.
On 16/01/2013 12:16, Thor Andreassen wrote:
> The only issue is if I want to connect data points
> separated by one of the undefined lines, see for example:
>
> echo "plot 'data' u 1:((strcol(3) eq 'A')? \$2 : 1/0)" | gnuplot
>
> [...]
>
--
Mikhail Kononets
Ph.D. Student
Marine Chemistry
Department of Chemistry and Molecular Biology
University of Gothenburg
Kemivagen 10
SE-412 96
Gothenburg, Sweden
office num.: +46-31-786-9063
mobile num.: +46-70-216-0936
e-mail: m.k...@ch...
mko...@gm...
|