aboutsummaryrefslogtreecommitdiff
path: root/utils/cgiplotNLT.pl
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cgiplotNLT.pl')
-rwxr-xr-xutils/cgiplotNLT.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/cgiplotNLT.pl b/utils/cgiplotNLT.pl
index d9b61d813f..0360e4120d 100755
--- a/utils/cgiplotNLT.pl
+++ b/utils/cgiplotNLT.pl
@@ -27,6 +27,7 @@ $| = 1;
print "Content-type: image/png", "\n\n";
open CMDSTREAM, "|gnuplot";
+#open CMDSTREAM, "|echo";
print CMDSTREAM "set terminal png\n";
print CMDSTREAM "set output\n";
@@ -36,7 +37,7 @@ print CMDSTREAM "\nplot";
for ($iter = 0; $iter < $count; $iter++) {
if ($iter)
{ print CMDSTREAM ","; }
- print CMDSTREAM " '-' using 1:2 with lines";
+ print CMDSTREAM " '-' using 1:2 title \"" . $q->param('t' . $iter) . "," . $q->param('n' . $iter) . "\"with lines";
}
print CMDSTREAM "\n";