summaryrefslogtreecommitdiff
path: root/web/latency/ploticus/plot-samerange-small.pls
diff options
context:
space:
mode:
Diffstat (limited to 'web/latency/ploticus/plot-samerange-small.pls')
-rw-r--r--web/latency/ploticus/plot-samerange-small.pls50
1 files changed, 50 insertions, 0 deletions
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