1 | # auto-generated file
|
---|
2 | # Gnuplot recommends setting the size and origin before going to multiplot mode
|
---|
3 | # This sets up bounding boxes and may be required on some terminals
|
---|
4 | set terminal postscript enhanced color
|
---|
5 | set output "gnuplot_grpah1.ps"
|
---|
6 | set size 1,1
|
---|
7 | set origin 0,0
|
---|
8 | set key bottom right
|
---|
9 | set key box# Done interactively, this takes gnuplot into multiplot mode
|
---|
10 | set multiplot
|
---|
11 | set size 1,0.333
|
---|
12 | set origin 0,0.66
|
---|
13 | set xlabel "t (seconds)"
|
---|
14 | set ylabel "throughput (Bytes ps)"
|
---|
15 | plot "temp/sink1" using 2:4 title 'flow1' with lines, "temp/sink2" using 2:4 title 'flow2' with lines, "temp/sink3" using 2:4 title 'flow3' with lines, "temp/sink4" using 2:4 title 'flow4' with lines
|
---|
16 | set size 1,0.333
|
---|
17 | set origin 0,0.33
|
---|
18 | set xlabel "t (seconds)"
|
---|
19 | set ylabel "average rssi"
|
---|
20 | plot "temp/sink1" using 2:5 title 'flow1' with lines, "temp/sink2" using 2:5 title 'flow2' with lines, "temp/sink3" using 2:5 title 'flow3' with lines, "temp/sink4" using 2:5 title 'flow4' with lines
|
---|
21 | set size 1,0.333
|
---|
22 | set origin 0,0
|
---|
23 | set xlabel "t (seconds)"
|
---|
24 | set ylabel "average PHY rate"
|
---|
25 | plot "temp/sink1" using 2:6 title 'flow1' with lines, "temp/sink2" using 2:6 title 'flow2' with lines, "temp/sink3" using 2:6 title 'flow3' with lines, "temp/sink4" using 2:6 title 'flow4' with lines
|
---|
26 | unset multiplot
|
---|
27 | reset
|
---|
28 |
|
---|