diff --git a/qa/gnuplot/.plot-csv-small-pcap-file-stream-vs-http.sh.swp b/qa/gnuplot/.plot-csv-small-pcap-file-stream-vs-http.sh.swp new file mode 100644 index 0000000000..ea6d9e8580 Binary files /dev/null and b/qa/gnuplot/.plot-csv-small-pcap-file-stream-vs-http.sh.swp differ diff --git a/qa/gnuplot/plot-csv-large-all.sh b/qa/gnuplot/plot-csv-large-all.sh new file mode 100755 index 0000000000..ca0fd064f6 --- /dev/null +++ b/qa/gnuplot/plot-csv-large-all.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# +# +if [ "$1" = "" ]; then + echo "call with location of csv file." + exit 1; +fi + +gnuplot << EOF +set datafile separator "," +set terminal png size 1024,768 +set output "$1.png" +set title "$1 ticks" +set key autotitle columnhead +set yrange [:] +set xrange [:] +set logscale y +plot "$1" using 4, for [i in $2] '' using i with $3 +EOF +RESULT=$? +if [ "$RESULT" = "0" ]; then + echo "PNG $1.png written" +fi diff --git a/qa/gnuplot/plot-csv-large-pcap-file-stream-vs-http.sh b/qa/gnuplot/plot-csv-large-pcap-file-stream-vs-http.sh new file mode 100755 index 0000000000..9942307a1e --- /dev/null +++ b/qa/gnuplot/plot-csv-large-pcap-file-stream-vs-http.sh @@ -0,0 +1,26 @@ +#!/bin/bash +# +# +if [ "$1" = "" ]; then + echo "call with location of csv file." + exit 1; +fi + +DRAW="dots" +gnuplot << EOF +set datafile separator "," +set terminal png size 1024,768 +set output "$1.png" +set title "$1 ticks" +set key autotitle columnhead +set yrange [:] +set xrange [:] +set logscale y +plot "$1" using :32 with $DRAW, \ + "" using :54 with $DRAW, \ + "" using :42 with $DRAW +EOF +RESULT=$? +if [ "$RESULT" = "0" ]; then + echo "PNG $1.png written" +fi diff --git a/qa/gnuplot/plot-csv-small-pcap-file-stream-vs-http.sh b/qa/gnuplot/plot-csv-small-pcap-file-stream-vs-http.sh new file mode 100755 index 0000000000..81a53136ea --- /dev/null +++ b/qa/gnuplot/plot-csv-small-pcap-file-stream-vs-http.sh @@ -0,0 +1,26 @@ +#!/bin/bash +# +# +if [ "$1" = "" ]; then + echo "call with location of csv file." + exit 1; +fi + +DRAW="boxes" +gnuplot << EOF +set datafile separator "," +set terminal png size 1024,768 +set output "$1.png" +set title "$1 ticks" +set key autotitle columnhead +set yrange [:] +set xrange [:] +set logscale y +plot "$1" using :32 with $DRAW, \ + "" using :54 with $DRAW, \ + "" using :42 with points +EOF +RESULT=$? +if [ "$RESULT" = "0" ]; then + echo "PNG $1.png written" +fi