From 30aee11958de312fb05a7cf95285dc2ce738a95c Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 22 Jan 2008 14:55:32 +0100 Subject: [PATCH] Plot script reworked to have test aligned. --- wme_test/plot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wme_test/plot b/wme_test/plot index af9a22a..0a58432 100755 --- a/wme_test/plot +++ b/wme_test/plot @@ -36,9 +36,7 @@ do shift COMMAND="Results of: $(grep 'Invoked as' ${FILE}.dat|grep -o 'wclient.*'|sed -e 's/ -o [^ ]*//' -e 's/ [^ ]* ?$//')" - STREAMS="$(grep '^#' ${FILE}.dat|sed -ne '2,$ s/^# //p'|while read LINE; do echo {/*0.7 $LINE}\\n; done|tr -d '\n'|sed -e 's/_/\\\\_/g')" - - TITLE="${COMMAND}\n\n${STREAMS}" + STREAMS="$(grep '^#' ${FILE}.dat|sed -ne '2,$ s/^# //p'|while read LINE; do echo $LINE\\n; done|tr -d '\n')" SET_TERM=$(echo $SET_TERM_TEMPLATE|sed -e s/\${FILE}/$FILE/) if [ -n "$MULTIPLE_GRAPHS_IN_PDF" ]; then @@ -52,11 +50,13 @@ do ${SET_TERM} set xlabel "Response-Time [ms]" set ylabel "Cumulative % of packets" -set title "${TITLE}" set key right bottom nobox set style data linespoints #set logscale x set grid +set size 1,0.8 +set label "${COMMAND}" noenhanced at graph 0,1.3 +set label "${STREAMS}" noenhanced at graph 0,1.2 font "helv,6" plot $DELAY_BOUND \ "${FILE}.dat" index 0 title "AC\\\\_VO",\ "${FILE}.dat" index 1 title "AC\\\\_VI",\ -- 2.39.2