summaryrefslogtreecommitdiff
path: root/web/latency/ploticus/plot-samerange-small.pls
blob: 1fec93a9442129944fb93df6a9d2d8f2bf810633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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