IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 29, 2010, 12:59:17 PM (16 years ago)
Author:
rhenders
Message:

Yet more stuff with tics

File:
1 edited

Legend:

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

    r28775 r28776  
    174174    my $divX = $timeDiff/4;
    175175
    176     # if less than a couple of hours data plotted, show 30 mins tics
     176    # if less than a couple of hour's data plotted, show 30 mins tics
    177177    if ($timeDiff < 7200) {
    178178        $timeFormat = "%H:%M";
    179179        $divX = 1800;
    180180    }
    181     # if less than one days data plotted, show hourly tics
     181    # if less than half a day's data plotted, show hourly tics
     182    elsif ($timeDiff < 43200) {
     183        $timeFormat = "%H:%M";
     184        $divX = 3600;
     185    }
     186    # if less than one day's data plotted, show 2 hourly tics
    182187    elsif ($timeDiff < 86400) {
    183188        $timeFormat = "%H:%M";
    184         $divX = 3600;
    185     }
    186     # if more than one days data plotted, show daisy tics
     189        $divX = 7200;
     190    }
     191    # if more than one day's data plotted, show daily tics
    187192    else {
    188193       
Note: See TracChangeset for help on using the changeset viewer.