#! /usr/bin/gnuplot filename=system("echo $data") set title filename set key outside #plot name with linespoints notitle plot for [col=1:3] filename using 0:col with lines notitle pause -1