Commit a783978e authored by Philip Carns's avatar Philip Carns
Browse files

fix ytic labels for time interval graphs

fixes #148
parent 0ff84688
......@@ -17,6 +17,8 @@ darshan-2.3.1-pre1
* add --start-group and --end-group notation to Darshan libraries for Cray PE
2.x environment to fix link-time corner cases (Yushu Yao)
* improve y axis labels on time interval graphs in
(reported by Tomo Peterka)
......@@ -787,7 +787,10 @@ system "$cp $PREFIX/share/*.gplt $tmp_dir/";
system "$cp $PREFIX/share/*.tex $tmp_dir/";
# 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");
print FILEACC "#!/usr/bin/gnuplot -persist
......@@ -801,6 +804,7 @@ set format x \"%H:%M:%S\"
set yrange [-1:$ymax]
set title \"Timespan from first to last read access on independent files\"
set xrange [\"0\":\"$runtime\"]
set ytics 0,$yinc,$ymaxtic
#set ytics -1,1
set lmargin 4
......@@ -831,6 +835,7 @@ set title \"Timespan from first to last write access on independent files\"
set yrange [-1:$ymax]
set xrange [\"0\":\"$runtime\"]
#set ytics -1,1
set ytics 0,$yinc,$ymaxtic
set lmargin 4
# color blindness work around
Supports Markdown
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