Add queueing example model
This commit is contained in:
parent
2ca0c68e31
commit
d4aa028d4f
9 changed files with 825 additions and 0 deletions
42
examples/queueing/plot
Normal file
42
examples/queueing/plot
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
set terminal svg
|
||||
set out 'queueing_evolution.svg'
|
||||
|
||||
set title "Queueing times"
|
||||
set xlabel "Customer #"
|
||||
set ylabel "Seconds"
|
||||
unset xlabel
|
||||
unset xtics
|
||||
set key title "Processors"
|
||||
set key bottom center out
|
||||
set key horizontal
|
||||
|
||||
set style line 1 lw 4
|
||||
set style line 2 lw 4
|
||||
set style line 3 lw 4
|
||||
set style line 4 lw 4
|
||||
|
||||
set yrange [0:450]
|
||||
set xrange [0:500]
|
||||
set style fill solid
|
||||
|
||||
plot 'output.csv' using 1:3 title "2" w boxes ls 1, \
|
||||
'' using 1:4 title "3" w boxes ls 2, \
|
||||
'' using 1:5 title "4" w boxes ls 3, \
|
||||
'' using 1:6 title "5" w boxes ls 4
|
||||
|
||||
set out 'queueing_boxplot.svg'
|
||||
set style fill solid 0.25 border -1
|
||||
set style boxplot outliers pointtype 7
|
||||
set style data boxplot
|
||||
set key off
|
||||
|
||||
set xlabel "Processors"
|
||||
unset xrange
|
||||
unset yrange
|
||||
|
||||
set xtics ('2' 1, '3' 2, '4' 3, '5' 4)
|
||||
|
||||
plot 'output.csv' using (1):3 title "2", \
|
||||
'' using (2):4 title "3", \
|
||||
'' using (3):5 title "4", \
|
||||
'' using (4):6 title "5"
|
||||
Loading…
Add table
Add a link
Reference in a new issue