IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 15, 2011, 4:16:20 PM (15 years ago)
Author:
rhenders
Message:

all time-series plots now created at same time for speed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czarplot.pl

    r30953 r31886  
    2626my $rateInterval = undef;
    2727my $deriv = undef;
    28 my $showCleanup = undef;
    2928my $nebulous = undef;
    3029my $savingToFile = undef;
     
    4645        "histogram|h" => \$histogram,
    4746        "nebulous|n" => \$nebulous,
    48         "cleanup|c" => \$showCleanup,
    4947        "rate|r" => \$rate,
    5048        "deriv|f" => \$deriv,
     
    8179    $analysis = 0;
    8280    print "* OPTIONAL: include analysis                -a                          (default=$analysis)\n";}
    83 if (!$showCleanup) {
    84     $showCleanup = 0;
    85     print "* OPTIONAL: include cleanup in timeseries   -c                          (default=$showCleanup)\n";}
    8681if (!$log) {
    8782    $log = 0;
     
    166161}
    167162
    168 if ($rate) {
     163if ($rate and !$timeSeries) {
    169164
    170     # default to a rate histogram if time series not selected
    171     if (!$timeSeries) {$histogram = 1;}
    172     $plotter->createRatePlot($label, $stage, $begin, $end, $rateInterval, $histogram, $timeSeries);
     165        $plotter->createRateHistogram($label, $stage, $begin, $end, $rateInterval);
     166        exit;
     167}
     168
     169if (!$histogram && !$nebulous) {
     170    $plotter->createTimeSeries($label, $stage, $begin, $end, $timeSeries, $log, $rate);
    173171    exit;
    174172}
    175 if (!$nebulous && $timeSeries) {$plotter->createTimeSeries($label, $stage, $begin, $end, $log, $showCleanup, $deriv);}
     173
    176174if ($histogram) {$plotter->createHistogram($label, $begin, $end);}
    177175if ($nebulous && $timeSeries) {$plotter->plotStorageTimeSeries($begin, $end);}
Note: See TracChangeset for help on using the changeset viewer.