summaryrefslogtreecommitdiff
path: root/web/latency/ploticus/plot-dots-samerange.pls
blob: 0a51dedf3e7087880008adde24d3c51e5469d7b8 (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
#

#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]