Index: trunk/tools/czarplot.pl
===================================================================
--- trunk/tools/czarplot.pl	(revision 29057)
+++ trunk/tools/czarplot.pl	(revision 29114)
@@ -23,4 +23,5 @@
 my $nebulous = undef;
 my $savingToFile = undef;
+my $log = undef;
 
 GetOptions (
@@ -36,6 +37,6 @@
         "timeseries|t" => \$timeSeries,
         "verbose|v" => \$verbose,
+        "log|g" => \$log,
         );
-
 
 print "\n*******************************************************************************\n";
@@ -50,8 +51,12 @@
 if (!$timeSeries) {
     print "* OPTIONAL: plot timeseries                 -t                          (default=on)\n";} 
+if (!$log) {
+    $log = 0;
+    print "* OPTIONAL: use log plots                   -g                          (default=$log\n";}
 if (!$nebulous) {
     print "* OPTIONAL: plot nebulous disk space        -n                          (default=off)\n";} 
 if (!$label) {
-    print "* OPTIONAL: choose a label                  -l <labellName>             (default='all_stdscience_labels')\n";}
+    $label = "all_stdscience_labels";
+    print "* OPTIONAL: choose a label                  -l <labellName>             (default=$label)\n";}
 if (!$stage) {
     print "* OPTIONAL: choose a stage                  -s <chip|cam|warp|etc>      (default=none)\n";}
@@ -63,5 +68,6 @@
     print "* OPTIONAL: choose an end time              -e <datetime>               (default=now)\n";} 
 if (!$path) {
-    print "* OPTIONAL: choose an output location       -o <path>                   (default=none)\n";} 
+    print "* OPTIONAL: choose an output location       -o <path>                   (default=none)\n";
+} 
 print "*\n*******************************************************************************\n";
 
@@ -69,5 +75,4 @@
 
 # default values
-if (!$label) {$label = "all_stdscience_labels";}
 if (!$nebulous && !$histogram && !$timeSeries) {$timeSeries = 1; $histogram = 0;}
 if (!$verbose) {$verbose = 0;}
@@ -92,5 +97,5 @@
 my $diskUsage = 1; # TODO
 
-if (!$nebulous && $timeSeries) {$czarplot->createTimeSeries($label, $stage, $begin, $end);}
+if (!$nebulous && $timeSeries) {$czarplot->createTimeSeries($label, $stage, $begin, $end, !$log, $log);}
 if ($histogram) {$czarplot->createHistogram($label, $begin, $end);}
 if ($nebulous && $timeSeries) {$czarplot->plotStorageTimeSeries($begin, $end);}
