IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29024


Ignore:
Timestamp:
Aug 23, 2010, 3:42:48 PM (16 years ago)
Author:
rhenders
Message:

Now using stacked histograms for pending/processed/faults

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czartool/Czarplot.pm

    r28923 r29024  
    103103    my ($processed, $pending, $faults);
    104104    my $stage = undef;
     105    my $pendingMinusFaults = undef;
    105106    foreach $stage (@allStages) {
    106107
    107108        $self->{_czarDb}->countProcessedPendingAndFaults($label, $stage, $beginTime, $endTime, \$processed, \$pending, \$faults);
    108         print GNUDAT "$stage $processed, $pending, $faults\n";
     109
     110        $pendingMinusFaults = $pending - $faults;
     111        print GNUDAT "$stage $faults $processed, $pendingMinusFaults\n";
    109112    }
    110113
     
    339342        "set boxwidth;" .
    340343        "set style data histogram;" .
    341         "set style histogram cluster gap 3;" .
     344 "set style histogram rowstacked;" .
    342345        "set style fill solid border -1;" .
    343         "set bmargin 5;" .
    344346        "set ylabel \"Exposures\";" .
    345         "plot '$inputFile' using 2:xtic(1) title \"Processed\" lt 2, '' using 3 title \"Pending\" lt 4, '' using 4 title \"Faults\" lt 7;" .
     347        "set boxwidth 0.75;" .
     348        "plot '$inputFile' using 2:xtic(1) title \"Faults\" lt 7, '' using 3 title \"Processed\" lt 2, '' using 4 title \"Pending\" lt 4;" .
    346349        "\n";
     350
     351
    347352
    348353    close GP;
Note: See TracChangeset for help on using the changeset viewer.