[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14456 - gauger
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14456 - gauger |
Date: |
Fri, 18 Feb 2011 04:00:11 +0100 |
Author: bartpolot
Date: 2011-02-18 04:00:11 +0100 (Fri, 18 Feb 2011)
New Revision: 14456
Modified:
gauger/plot.php
Log:
Added graph name to plot title
Modified: gauger/plot.php
===================================================================
--- gauger/plot.php 2011-02-18 02:53:43 UTC (rev 14455)
+++ gauger/plot.php 2011-02-18 03:00:11 UTC (rev 14456)
@@ -21,14 +21,17 @@
$cmd .= " set xrange [$x_min:$x_max];";
$cmd .= " set yrange [$y_min:$y_max];";
- $cmd .= ' plot';
-
$ch = count($h);
if($ch == 0){
$h = array_keys($hosts);
}
$cg = count($g);
+ if($cg == 1) {
+ $cmd .= ' set title "' . get_counter_name($g[0]) . '";';
+ }
+
+ $cmd .= ' plot';
$units = Array();
$c = 0;
foreach($h as $host) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14456 - gauger,
gnunet <=