diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-05-20 17:50:51 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-05-20 17:50:51 +0000 |
commit | edd47f21c5dc7f12fbe537219980ae4050e7e50a (patch) | |
tree | 254ee8c0fdd318f1d5729492eb3db63aee972fe5 /utils/cgiplotNLT.pl | |
parent | 24d77506d07d3e69f65ce82d1040231797f4a5dc (diff) |
now with a legend, and multiple lines work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/cgiplotNLT.pl')
-rwxr-xr-x | utils/cgiplotNLT.pl | 3 |
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"; |