Commit a783978e authored by Philip Carns's avatar Philip Carns

fix ytic labels for time interval graphs

fixes #148
parent 0ff84688
...@@ -17,6 +17,8 @@ darshan-2.3.1-pre1 ...@@ -17,6 +17,8 @@ darshan-2.3.1-pre1
Chadalavada) Chadalavada)
* add --start-group and --end-group notation to Darshan libraries for Cray PE * add --start-group and --end-group notation to Darshan libraries for Cray PE
2.x environment to fix link-time corner cases (Yushu Yao) 2.x environment to fix link-time corner cases (Yushu Yao)
* improve y axis labels on time interval graphs in darshan-job-summary.pl
(reported by Tomo Peterka)
darshan-2.3.0 darshan-2.3.0
============= =============
......
...@@ -787,7 +787,10 @@ system "$cp $PREFIX/share/*.gplt $tmp_dir/"; ...@@ -787,7 +787,10 @@ system "$cp $PREFIX/share/*.gplt $tmp_dir/";
system "$cp $PREFIX/share/*.tex $tmp_dir/"; system "$cp $PREFIX/share/*.tex $tmp_dir/";
# generate template for file access plot (we have to set range) # generate template for file access plot (we have to set range)
my $ymax = $nprocs + 1; my $ymax = $nprocs;
my $yinc = int($nprocs / 8);
if($yinc == 0) {$yinc=1;}
my $ymaxtic = $nprocs-1;
open(FILEACC, ">$tmp_dir/file-access-read-eps.gplt") || die("error opening output file:$!\n"); open(FILEACC, ">$tmp_dir/file-access-read-eps.gplt") || die("error opening output file:$!\n");
print FILEACC "#!/usr/bin/gnuplot -persist print FILEACC "#!/usr/bin/gnuplot -persist
...@@ -801,6 +804,7 @@ set format x \"%H:%M:%S\" ...@@ -801,6 +804,7 @@ set format x \"%H:%M:%S\"
set yrange [-1:$ymax] set yrange [-1:$ymax]
set title \"Timespan from first to last read access on independent files\" set title \"Timespan from first to last read access on independent files\"
set xrange [\"0\":\"$runtime\"] set xrange [\"0\":\"$runtime\"]
set ytics 0,$yinc,$ymaxtic
#set ytics -1,1 #set ytics -1,1
set lmargin 4 set lmargin 4
...@@ -831,6 +835,7 @@ set title \"Timespan from first to last write access on independent files\" ...@@ -831,6 +835,7 @@ set title \"Timespan from first to last write access on independent files\"
set yrange [-1:$ymax] set yrange [-1:$ymax]
set xrange [\"0\":\"$runtime\"] set xrange [\"0\":\"$runtime\"]
#set ytics -1,1 #set ytics -1,1
set ytics 0,$yinc,$ymaxtic
set lmargin 4 set lmargin 4
# color blindness work around # color blindness work around
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment