about summary refs log tree commit diff
diff options
context:
space:
mode:
authorToralf Förster <toralf.foerster@gmx.de>2020-07-05 15:35:24 +0200
committerToralf Förster <toralf.foerster@gmx.de>2020-07-05 15:35:24 +0200
commit37697127dce10ec89e07c20fb63d0c7dbeb3586c (patch)
treed8de25c6e825431fd2f3801c150a6412b0fd7417
parent8acc8b538947780f9866b00044370e74733512cd (diff)
downloadafl++-37697127dce10ec89e07c20fb63d0c7dbeb3586c.tar.gz
afl-plot: scale y-axis of low_freq.png with integers
Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
-rwxr-xr-xafl-plot3
1 files changed, 3 insertions, 0 deletions
diff --git a/afl-plot b/afl-plot
index 66c16870..cde2db0b 100755
--- a/afl-plot
+++ b/afl-plot
@@ -127,6 +127,7 @@ set key outside
 set autoscale xfixmin
 set autoscale xfixmax
 
+set ytics auto
 plot '$inputdir/plot_data' using 1:4 with filledcurve x1 title 'total paths' linecolor rgb '#000000' fillstyle transparent solid 0.2 noborder, \\
      '' using 1:3 with filledcurve x1 title 'current path' linecolor rgb '#f0f0f0' fillstyle transparent solid 0.5 noborder, \\
      '' using 1:5 with lines title 'pending paths' linecolor rgb '#0090ff' linewidth 3, \\
@@ -136,6 +137,7 @@ plot '$inputdir/plot_data' using 1:4 with filledcurve x1 title 'total paths' lin
 set terminal png truecolor enhanced size 1000,200 butt
 set output '$outputdir/low_freq.png'
 
+set ytics 1
 plot '$inputdir/plot_data' using 1:8 with filledcurve x1 title '' linecolor rgb '#c00080' fillstyle transparent solid 0.2 noborder, \\
      '' using 1:8 with lines title ' uniq crashes' linecolor rgb '#c00080' linewidth 3, \\
      '' using 1:9 with lines title 'uniq hangs' linecolor rgb '#c000f0' linewidth 3, \\
@@ -144,6 +146,7 @@ plot '$inputdir/plot_data' using 1:8 with filledcurve x1 title '' linecolor rgb
 set terminal png truecolor enhanced size 1000,200 butt
 set output '$outputdir/exec_speed.png'
 
+set ytics auto
 plot '$inputdir/plot_data' using 1:11 with filledcurve x1 title '' linecolor rgb '#0090ff' fillstyle transparent solid 0.2 noborder, \\
      '$inputdir/plot_data' using 1:11 with lines title '    execs/sec' linecolor rgb '#0090ff' linewidth 3 smooth bezier;