IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29618


Ignore:
Timestamp:
Oct 29, 2010, 3:42:30 PM (16 years ago)
Author:
rhenders
Message:

Now not leaving annoying png files around

File:
1 edited

Legend:

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

    r29585 r29618  
    8383    use FileHandle;
    8484    GP->autoflush(1);
     85
     86    if ($self->{_outputFormat} ne "X11") {print GP "set output \"$outputFile\";";}
     87
    8588    print GP
    8689        "set term $self->{_outputFormat};" .
    87         "set output \"$outputFile\";" .
    8890        "set title \"'$label', '$selectedStage' during '$beginTime' to '$endTime'\";" .
    8991        #"set xdata time;" .
     
    234236    else {$maxY = $maxY*1.1;}
    235237
     238
     239    if ($self->{_outputFormat} ne "X11") {print GP "set output \"$outputFile\";";}
    236240    print GP
    237241        "set term $self->{_outputFormat};" .
    238         "set output \"$outputFile\";" .
    239242        "set title \"'$label', '$beginTime' to '$endTime'\";" .
    240243        "set grid;" .
     
    319322        ${$divX} = 604800;
    320323    }
     324    # otherwise, show monthly ticks
    321325    else {
    322326
     
    357361    GP->autoflush(1);
    358362
     363    if ($self->{_outputFormat} ne "X11") {print GP "set output \"$outputFile\";";}
    359364    print GP
    360365        "set term $self->{_outputFormat};" .
    361         "set output \"$outputFile\";" .
    362366        "set title \"$title\";" .
    363367        "set key left top;" .
     
    423427    GP->autoflush(1);
    424428
     429    if ($self->{_outputFormat} ne "X11") {print GP "set output \"$outputFile\";";}
    425430    print GP
    426431        "set term $self->{_outputFormat};" .
    427         "set output \"$outputFile\";" .
    428432        "set title \"Total available cluster space over time\";" .
    429433        "set key left top;" .
     
    464468    GP->autoflush(1);
    465469
     470    if ($self->{_outputFormat} ne "X11") {print GP "set output \"$outputFile\";";}
    466471    print GP
    467472        "set term $self->{_outputFormat};" .
    468         "set output \"$outputFile\";" .
    469473        "set title \"Nebulous disk use across IPP cluster ($totalPercent of total allocated)\";" .
    470474        "set style fill solid 1.00 border -1;" .
Note: See TracChangeset for help on using the changeset viewer.