"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bin/geplot" between
NetPIPE_4.x.tar.gz and NetPIPE-3.7.2.tar.gz

About: NetPIPE - a Network Protocol Independent Performance Evaluator

geplot  (NetPIPE_4.x):geplot  (NetPIPE-3.7.2)
#!/bin/sh #!/bin/sh
GPLOT="/home/turner/.gplot" GPLOT="$HOME/.gplot"
GPLOTPS="/home/turner/.gplot.ps" GPLOTPS="$HOME/.gplot.ps"
outputs=$* outputs=$*
echo " " echo " "
echo "Plotting $* to ~/.gplot.ps" echo "Plotting $* to ~/gplot.ps"
echo " " echo " "
line_style=0 index=0
for ofile in $outputs for ofile in $outputs
do do
line_style=`expr $line_style + 1` index=`expr $index + 1`
if test $line_style -eq 9 # echo index = $index
then OUTPUTS="${OUTPUTS} \"${ofile}\" ls ${index},"
line_style=1
fi
OUTPUTS="${OUTPUTS} \"${ofile}\" ls ${line_style},"
done done
OUTPUTS=`echo $OUTPUTS | sed 's/,$//g'` OUTPUTS=`echo $OUTPUTS | sed 's/,$//g'`
#echo "outputs = $OUTPUTS" #echo "outputs = $OUTPUTS"
echo "set data style lines" > $GPLOT echo "set data style lines" > $GPLOT
echo "set logscale x" >> $GPLOT echo "set logscale x" >> $GPLOT
echo "set xrange [1:10000000]" >> $GPLOT echo "set xrange [1:10000000]" >> $GPLOT
echo "set ylabel \"Bandwidth in Mbps\"" >> $GPLOT echo "set ylabel \"Bandwidth in Mbps\"" >> $GPLOT
echo "set xlabel \"Message Size in Bytes\"" >> $GPLOT echo "set xlabel \"Message Size in Bytes\"" >> $GPLOT
#echo "set style line 1 lt -1 lw 4" >> $GPLOT #echo "set linestyle 1 lt -1 lw 4" >> $GPLOT
echo "set style line 1 lt 3 lw 4" >> $GPLOT echo "set linestyle 1 lt 3 lw 4" >> $GPLOT
echo "set style line 2 lt 1 lw 4" >> $GPLOT echo "set linestyle 2 lt 1 lw 4" >> $GPLOT
echo "set style line 3 lt 5 lw 4" >> $GPLOT echo "set linestyle 3 lt 5 lw 4" >> $GPLOT
echo "set style line 4 lt 2 lw 4" >> $GPLOT echo "set linestyle 4 lt 2 lw 4" >> $GPLOT
echo "set style line 5 lt 4 lw 4" >> $GPLOT echo "set linestyle 5 lt 4 lw 4" >> $GPLOT
echo "set style line 6 lt 6 lw 4" >> $GPLOT echo "set linestyle 6 lt 6 lw 4" >> $GPLOT
#echo "set style line 7 lt 3 lw 4" >> $GPLOT #echo "set linestyle 7 lt 3 lw 4" >> $GPLOT
echo "set style line 7 lt -1 lw 4" >> $GPLOT echo "set linestyle 7 lt -1 lw 4" >> $GPLOT
echo "set style line 8 lt 7 lw 4" >> $GPLOT echo "set linestyle 8 lt 7 lw 4" >> $GPLOT
echo "set key 30,2000" >> $GPLOT echo "set key graph 0.4, 0.9" >> $GPLOT
echo "set terminal postscript color" >> $GPLOT echo "set terminal postscript color" >> $GPLOT
echo "set output \"$GPLOTPS\"" >> $GPLOT echo "set output \"$GPLOTPS\"" >> $GPLOT
echo "plot $OUTPUTS" >> $GPLOT echo "plot $OUTPUTS" >> $GPLOT
gnuplot < $GPLOT gnuplot < $GPLOT
gv $GPLOTPS ghostview $GPLOTPS
#ghostview $GPLOTPS
 End of changes. 7 change blocks. 
21 lines changed or deleted 18 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS