Changeset 29060 for branches/sc_branches/trunkTest/tools/czarplot.pl
- Timestamp:
- Aug 26, 2010, 9:18:39 AM (16 years ago)
- Location:
- branches/sc_branches/trunkTest
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tools/czarplot.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/trunkTest
- Property svn:mergeinfo changed
-
branches/sc_branches/trunkTest/tools/czarplot.pl
r28922 r29060 38 38 ); 39 39 40 print "\n"; 40 41 print "\n*******************************************************************************\n"; 42 print "* \n"; 43 my $quit = 0; 44 if (@ARGV) { 45 $quit=1; 46 print "* UNKNKOWN: option @ARGV\n"; 47 } 41 48 if (!$histogram) { 42 49 print "* OPTIONAL: plot histogram -h (default=off)\n";} … … 50 57 print "* OPTIONAL: choose a stage -s <chip|cam|warp|etc> (default=none)\n";} 51 58 if (!$interval) { 52 print "* OPTIONAL: choose time interval in past -i <'1 hour'|'1 day'|etc> (default= interval since 7am this morning)\n";}59 print "* OPTIONAL: choose time interval in past -i <'1 hour'|'1 day'|etc> (default=none\n";} 53 60 if (!$begin) { 54 61 print "* OPTIONAL: choose a begin time -b <datetime> (default=7am this morning)\n";} … … 57 64 if (!$path) { 58 65 print "* OPTIONAL: choose an output location -o <path> (default=none)\n";} 66 print "*\n*******************************************************************************\n"; 59 67 60 print "\n"; 68 if ($quit) { exit; } 61 69 62 70 # default values … … 71 79 $czarDb->setDateFormat("%Y%m%d-%H%i%s"); 72 80 81 82 # GENE PLOTS my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", $savingToFile ? "png size 1280,960 font \"/usr/share/fonts/corefonts/arial.ttf\" 12" : "X11", $path, $save_temps); 73 83 my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", $savingToFile ? "png font \"/usr/share/fonts/corefonts/arial.ttf\" 8" : "X11", $path, $save_temps); 74 75 my @allStages = ("chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist");76 84 77 85 # sort out times … … 79 87 if (!$begin) { 80 88 if ($interval) {$begin = $czarDb->subtractInterval($end, $interval);} 81 else {$begin = strftime('%Y-%m-%d 0 7:00',localtime);}89 else {$begin = strftime('%Y-%m-%d 06:30',localtime);} 82 90 } 83 91
Note:
See TracChangeset
for help on using the changeset viewer.
