open(GNUPLOT, "-|", gnuplot => $cmd) or die; @output = ; close GNUPLOT or die "error reading GNUPLOT";