.G1 copy "legend.grap" frame invis ht 3 wid 4 left solid bot solid coord x 0,5000*2 y 0,4000 ticks left out from 0 to 4000 by 400 ticks bot out from 1000 to 10000 by 1000 label left "Request duration" unaligned "for a partition (µs)" "(Median)" left 0.8 label bot "Number of cars matching the partition" down 0.1 obfifo1 = obfifo5 = obfifo10 = obfifo20 = 0 cbfifo1 = cbfifo5 = cbfifo10 = cbfifo20 = 0 legendxleft = 1000 legendxright = 2500 legendyup = 4000 legendydown = 2500 boite(legendxleft,legendxright,legendyup,legendydown) legend_common(legendxleft,legendxright,legendyup,legendydown) copy "../data/fifo_partitions.d" thru X cx = $1*2 y_scale = 1000 ## fifo1 fifo5 fifo10 fifo20 #line from cx,$2/y_scale to cx,$4/y_scale #line from cx,$5/y_scale to cx,$7/y_scale #line from cx,$8/y_scale to cx,$10/y_scale #line from cx,$11/y_scale to cx,$13/y_scale #ty = $3 cbfifo1 = $3/y_scale cbfifo5 = $6/y_scale cbfifo10 = $9/y_scale cbfifo20 = $12/y_scale .gcolor red if (obfifo1 > 0) then {line from cx,cbfifo1 to ox,obfifo1} .gcolor .gcolor green if (obfifo5 > 0) then {line from cx,cbfifo5 to ox,obfifo5} .gcolor if (obfifo10 > 0) then {line from cx,cbfifo10 to ox,obfifo10} .gcolor pink if (obfifo20 > 0) then {line from cx,cbfifo20 to ox,obfifo20} .gcolor obfifo1 = cbfifo1 obfifo5 = cbfifo5 obfifo10 = cbfifo10 obfifo20 = cbfifo20 ox = cx # fifo1 fifo5 fifo10 fifo20 .gcolor red bullet at cx,cbfifo1 .gcolor .gcolor green bullet at cx,cbfifo5 .gcolor bullet at cx,cbfifo10 .gcolor pink bullet at cx,cbfifo20 .gcolor X .G2