I need to do this in gnuplot:
plot 1:4 where col 2=="P1", col 3=="3", col 1 has substring "blur1"
Heres a dataset:
col_1 col_2 col_3 col_4
gcc.blur1.O0 P1 3 10.5
icc.blur1.O2 P2 5 9.8
gcc.blur2.O3 P2 3 8.9
Thanks in advance.
AFAIK you need to use an external script to check for substrings. Something like awk and use
If you just want to test col_2 for P1 you can do it in gnuplot via
strcol(n) gets the n-ths column as a string. “eq” can be used to compare strings.