Changeset 28870
- Timestamp:
- Aug 9, 2010, 12:58:41 PM (16 years ago)
- Location:
- trunk/tools
- Files:
-
- 3 edited
-
czarplot.pl (modified) (1 diff)
-
czartool/Czarplot.pm (modified) (2 diffs)
-
roboczar.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czarplot.pl
r28868 r28870 71 71 $czarDb->setDateFormat("%Y%m%d-%H%i%s"); 72 72 73 my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", $savingToFile ? "png " : "X11", $path, $save_temps);73 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 74 75 75 my @allStages = ("chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist"); -
trunk/tools/czartool/Czarplot.pm
r28862 r28870 272 272 my ($self, $fromTime, $toTime) = @_; 273 273 274 my $outputFile = "/tmp/czarplot_cluster.png"; 274 my $prefix = $self->{_outputPath} ? $self->{_outputPath} : "."; 275 my $outputFile = "$prefix/czarplot_cluster.png"; 275 276 my ($minX, $maxX, $minY, $maxY, $timeDiff); 276 277 … … 347 348 my ($self) = @_; 348 349 349 my $outputFile = "/tmp/czarplot_hosts_space.png"; 350 my $prefix = $self->{_outputPath} ? $self->{_outputPath} : "."; # TODO should be function for this 351 my $outputFile = "$prefix/czarplot_hosts_space.png"; 350 352 my $limit = 97.0; 351 353 my $inputFile = $self->{_czarDb}->createHostsData($limit); -
trunk/tools/roboczar.pl
r28862 r28870 26 26 my $nebulous = new czartool::Nebulous($czarDb); 27 27 my $pantasks = new czartool::Pantasks(); 28 my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", "png ", "/tmp", $save_temps);28 my $czarplot = new czartool::Czarplot($czarDb, "%Y%m%d-%H%M%S", "png font \"/usr/share/fonts/corefonts/arial.ttf\" 8", "/tmp", $save_temps); # TODO hardcoded font path 29 29 $czarDb->setDateFormat("%Y%m%d-%H%i%s"); 30 30
Note:
See TracChangeset
for help on using the changeset viewer.
