Changeset 29862 for trunk/tools/czarplot.pl
- Timestamp:
- Nov 26, 2010, 3:21:47 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/tools/czarplot.pl (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czarplot.pl
r29765 r29862 45 45 "begin|b=s" => \$begin, 46 46 "end|e=s" => \$end, 47 "day| y=s" => \$day,47 "day|d=s" => \$day, 48 48 "output|o=s" => \$path, 49 49 "histogram|h" => \$histogram, … … 51 51 "cleanup|c" => \$showCleanup, 52 52 "rate|r" => \$rate, 53 "deriv| d" => \$deriv,53 "deriv|f" => \$deriv, 54 54 "analysis|a" => \$analysis, 55 55 "timeseries|t" => \$timeSeries, … … 80 80 if (!$deriv) { 81 81 $deriv = 0; 82 print "* OPTIONAL: plot first derivative - d(default=$deriv)\n";}82 print "* OPTIONAL: plot first derivative -f (default=$deriv)\n";} 83 83 if (!$analysis) { 84 84 $analysis = 0; … … 106 106 print "* OPTIONAL: choose an end time -e <datetime> (default=now)\n";} 107 107 if (!$day) { 108 print "* OPTIONAL: choose a single day to plot - y<date> (default=today)\n";}108 print "* OPTIONAL: choose a single day to plot -d <date> (default=today)\n";} 109 109 if (!$path) { 110 110 print "* OPTIONAL: choose an output location -o <path> (default=none)\n"; … … 137 137 if($day) { 138 138 139 # day plots should run from about 6:30am until midnight 140 $begin = "$day 06:35"; 141 $end = "$day 23:59"; 142 print "JKJKJK '$begin' '$end' \n"; 139 if ($magicMask) { 143 140 141 $begin = $day; 142 $end = $day; 143 } 144 else { 145 146 # day plots should run from about 6:30am until midnight 147 $begin = "$day 06:35"; 148 $end = "$day 23:59"; 149 } 144 150 } 145 151 else { … … 152 158 } 153 159 } 154 my $diskUsage = 1; # TODO 160 if ($rate) { 155 161 156 if ($rate) { 157 $plotter->createRateTimeSeries($label, $stage, $begin, $end, $rateInterval, $log); 162 $plotter->createRateTimeSeries($label, $stage, $begin, $end, $rateInterval); 158 163 exit; 159 164 } … … 165 170 166 171 if ($exposureId) {$plotter->plotMagicMaskFractionForThisExposure($exposureId);} 167 else {$plotter->plotMagicMaskFraction Histogram($begin, $end);}172 else {$plotter->plotMagicMaskFraction($begin, $end);} 168 173 169 174 }
Note:
See TracChangeset
for help on using the changeset viewer.
