summaryrefslogtreecommitdiff
path: root/web/latency/ploticus
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2004-11-15 21:10:43 +0000
committerPeter Palfrader <peter@palfrader.org>2004-11-15 21:10:43 +0000
commitfe14a5b775a889cb98a11aed8722fbcc86b7c24f (patch)
tree631b2dbda62ae5774055af13ed10252bf5522700 /web/latency/ploticus
parente21f8193468cadde7d38e53ed2569ecee612cbfc (diff)
Add latency
Diffstat (limited to 'web/latency/ploticus')
-rw-r--r--web/latency/ploticus/plot-autorange.pls46
-rw-r--r--web/latency/ploticus/plot-dots-autorange.pls35
-rw-r--r--web/latency/ploticus/plot-dots-samerange-small.pls36
-rw-r--r--web/latency/ploticus/plot-dots-samerange.pls40
-rw-r--r--web/latency/ploticus/plot-samerange-small.pls50
-rw-r--r--web/latency/ploticus/plot-samerange.pls49
6 files changed, 256 insertions, 0 deletions
diff --git a/web/latency/ploticus/plot-autorange.pls b/web/latency/ploticus/plot-autorange.pls
new file mode 100644
index 0000000..c2a6bd5
--- /dev/null
+++ b/web/latency/ploticus/plot-autorange.pls
@@ -0,0 +1,46 @@
+#
+
+#set X1 = 1
+#set Y1 = 1
+#set X2 = 5
+#set Y2 = 2
+
+#proc getdata
+ file: tmp/values
+#endproc
+
+#set SAMPLES = @NRECORDS
+
+#proc areadef
+ rectangle: @X1 @Y1 @X2 @Y2
+ yrange: 0 1
+ xautorange: datafields=1 lowfix=0
+#proc yaxis
+ label: received pings
+ stubs: incremental 0.5
+ tics: none
+#proc yaxis
+ stubs: none
+ ticincrement: 0.25
+ grid: color=green
+#proc xaxis
+ tics: yes
+ stubs: incremental
+ label: latency [m]
+#proc xaxis
+ tics: none
+ selflocatingstubs: file tmp/stubs
+ grid: color=blue width=1
+ stubdetails: adjust=0,+1.3
+
+/////////////////////////////////////
+
+#proc areadef
+ rectangle: @X1 @Y1 @X2 @Y2
+ yrange: 0 @SAMPLES
+ xautorange: datafields=1
+#proc lineplot
+ xfield: 1
+ // sort: yes
+ accum: yes
+ instancemode: yes
diff --git a/web/latency/ploticus/plot-dots-autorange.pls b/web/latency/ploticus/plot-dots-autorange.pls
new file mode 100644
index 0000000..65803f9
--- /dev/null
+++ b/web/latency/ploticus/plot-dots-autorange.pls
@@ -0,0 +1,35 @@
+#
+
+#set X1 = 1
+#set Y1 = 1
+#set X2 = 5
+#set Y2 = 2
+
+#proc getdata
+ file: tmp/points
+#endproc
+
+#set YMAX = 180
+
+#proc areadef
+ rectangle: @X1 @Y1 @X2 @Y2
+ //yrange: 0 @YMAX
+ yautorange: datafields=2 lowfix=0
+ xrange: -12 0
+#proc scatterplot
+ xfield: 1
+ yfield: 2
+ symbol: shape=triangle style=filled fillcolor=red
+#proc yaxis
+ label: latency [m]
+ stubs: incremental
+ grid: color=green
+#proc yaxis
+ tics: none
+ selflocatingstubs: file tmp/stubs
+ grid: color=blue width=1
+ stubdetails: adjust=4.3,0 align=L
+#proc xaxis
+ tics: yes
+ stubs: incremental
+ label: sent [d]
diff --git a/web/latency/ploticus/plot-dots-samerange-small.pls b/web/latency/ploticus/plot-dots-samerange-small.pls
new file mode 100644
index 0000000..7375f38
--- /dev/null
+++ b/web/latency/ploticus/plot-dots-samerange-small.pls
@@ -0,0 +1,36 @@
+#
+
+#set X1 = 1
+#set Y1 = 1
+#set X2 = 2.5
+#set Y2 = 1.5
+
+#proc getdata
+ file: tmp/points
+#endproc
+
+#set YMAX = 180
+
+#proc areadef
+ rectangle: @X1 @Y1 @X2 @Y2
+ yrange: 0 @YMAX
+ xrange: -12 0
+#proc scatterplot
+ xfield: 1
+ yfield: 2
+ symbol: shape=triangle style=filled fillcolor=red radius=0.02
+
+#proc yaxis
+ // label: latency [m]
+ stubs: incremental 60
+ grid: color=green
+#proc yaxis
+ tics: none
+ selflocatingstubs: file tmp/stubs
+ grid: color=blue width=1
+ stubdetails: adjust=1.7,0 align=L size=6
+#proc xaxis
+ tics: yes
+ stubs: incremental
+ // label: sent [d]
+ stubdetails: size=6
diff --git a/web/latency/ploticus/plot-dots-samerange.pls b/web/latency/ploticus/plot-dots-samerange.pls
new file mode 100644
index 0000000..0a51ded
--- /dev/null
+++ b/web/latency/ploticus/plot-dots-samerange.pls
@@ -0,0 +1,40 @@
+#
+
+#set X1 = 1
+#set Y1 = 1
+#set X2 = 5
+#set Y2 = 2
+
+#proc getdata
+ file: tmp/points
+#endproc
+
+#set YMAX = 180
+
+#proc areadef
+ rectangle: @X1 @Y1 @X2 @Y2
+ yrange: 0 @YMAX
+ // yautorange: datafields=2
+ xrange: -12 0
+#proc scatterplot
+ xfield: 1
+ yfield: 2
+ symbol: shape=triangle style=filled fillcolor=red
+
+#proc yaxis
+ label: latency [m]
+ stubs: incremental 60
+ tics: none
+#proc yaxis
+ stubs: none
+ ticincrement: 30
+ grid: color=green
+#proc yaxis
+ tics: none
+ selflocatingstubs: file tmp/stubs
+ grid: color=blue width=1
+ stubdetails: adjust=4.3,0 align=L
+#proc xaxis
+ tics: yes
+ stubs: incremental
+ label: sent [d]
diff --git a/web/latency/ploticus/plot-samerange-small.pls b/web/latency/ploticus/plot-samerange-small.pls
new file mode 100644
index 0000000..1fec93a
--- /dev/null
+++ b/web/latency/ploticus/plot-samerange-small.pls
@@ -0,0 +1,50 @@
+#
+
+#set X1 = 1
+#set Y1 = 1
+#set X2 = 2.5
+#set Y2 = 1.5
+
+#proc getdata
+ file: tmp/values
+#endproc
+
+#set SAMPLES = @NRECORDS
+#set XMAX = 180
+
+#proc areadef
+ rectangle: @X1 @Y1 @X2 @Y2
+ yrange: 0 1
+ #xautorange: datafields=1
+ xrange: 0 @XMAX
+#proc yaxis
+ // label: received pings
+ stubs: incremental 0.5
+ tics: none
+#proc yaxis
+ stubs: none
+ ticincrement: 0.25
+ grid: color=green
+#proc xaxis
+ tics: yes
+ stubs: incremental 30
+ // label: latency [m]
+ stubdetails: size=6
+#proc xaxis
+ tics: none
+ selflocatingstubs: file tmp/stubs
+ grid: color=blue width=1
+ stubdetails: adjust=0,+0.8 size=6
+
+/////////////////////////////////////
+
+#proc areadef
+ rectangle: @X1 @Y1 @X2 @Y2
+ yrange: 0 @SAMPLES
+ #xautorange: datafields=1
+ xrange: 0 @XMAX
+#proc lineplot
+ xfield: 1
+ // sort: yes
+ accum: yes
+ instancemode: yes
diff --git a/web/latency/ploticus/plot-samerange.pls b/web/latency/ploticus/plot-samerange.pls
new file mode 100644
index 0000000..f6af53c
--- /dev/null
+++ b/web/latency/ploticus/plot-samerange.pls
@@ -0,0 +1,49 @@
+#
+
+#set X1 = 1
+#set Y1 = 1
+#set X2 = 5
+#set Y2 = 2
+
+#proc getdata
+ file: tmp/values
+#endproc
+
+#set SAMPLES = @NRECORDS
+#set XMAX = 180
+
+#proc areadef
+ rectangle: @X1 @Y1 @X2 @Y2
+ yrange: 0 1
+ #xautorange: datafields=1
+ xrange: 0 @XMAX
+#proc yaxis
+ label: received pings
+ stubs: incremental 0.5
+ tics: none
+#proc yaxis
+ stubs: none
+ ticincrement: 0.25
+ grid: color=green
+#proc xaxis
+ tics: yes
+ stubs: incremental
+ label: latency [m]
+#proc xaxis
+ tics: none
+ selflocatingstubs: file tmp/stubs
+ grid: color=blue width=1
+ stubdetails: adjust=0,+1.3
+
+/////////////////////////////////////
+
+#proc areadef
+ rectangle: @X1 @Y1 @X2 @Y2
+ yrange: 0 @SAMPLES
+ #xautorange: datafields=1
+ xrange: 0 @XMAX
+#proc lineplot
+ xfield: 1
+ // sort: yes
+ accum: yes
+ instancemode: yes