Debian Codegraph @

src/graph-setup

raw
1 # This file is part of the battery-stats package.
2 # Copyright (C) 2002 Karl E. Jørgensen <[email protected]>
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 #
18 set noclip points
19 set clip one
20 set noclip two
21 set bar 1.000000
22 set border 31 lt -1 lw 1.000
23
24
25 set xdata time
26 set format x "%H:%M\n%d %b"
27 #set xlabel "Date/Time"
28 set xzeroaxis lt -2 lw 1.000
29 set xtics border mirror norotate autofreq
30 set mxtics default
31 set grid xtics nomxtics
32
33 set ydata
34 set format y "% g"
35 set ylabel "%Full"
36 set ylabel offset 0,0
37 set yrange [ 0 : 100 ]
38 set yzeroaxis lt -2 lw 1.000
39 set ytics border mirror norotate autofreq # 0, 10
40 set mytics 2
41 set grid ytics nomytics
42
43
44
45 #set y2data
46 #set format y2 "% g"
47 #set y2zeroaxis lt -2 lw 1.000
48 #set my2tics default
49 #set noy2tics
50 #set y2tics border nomirror norotate autofreq
51 #set y2label "minutes" 0.000000,0.000000 ""
52 #set y2range [ 0 : * ] noreverse nowriteback # (currently [-10.0000:10.0000] )
53 #set grid noy2tics nomy2tics
54
55 set dummy x,y
56 set key title ""
57 set key noreverse box linetype -2 linewidth 1.000 samplen 4 spacing 1 width 0
58 set key bmargin
59 set key horizontal
60 #set nokey
61
62 set nolabel
63 set noarrow
64 set nologscale
65 set offsets 0, 0, 0, 0
66 set pointsize 1
67 set encoding default
68 set nopolar
69 set noparametric
70 set view 60, 30, 1, 1
71 set samples 100, 100
72 set isosamples 10, 10
73 set surface
74 set nocontour
75 set clabel '%8.3g'
76 set mapping cartesian
77 set nohidden3d
78 set cntrparam order 4
79 set cntrparam linear
80 set cntrparam levels auto 5
81 set cntrparam points 5
82 set size ratio 0 1,1
83 set origin 0,0
84 #set data style points
85 #set function style lines
86 set tics in
87 set ticslevel 0.5
88 set tics scale 1
89 #set title "" 0.000000,0.000000 ""
90 #set timestamp "" bottom norotate 0.000000,0.000000 ""
91 #set timefmt "%Y/%m/%d %H:%M:%S"
92
93 #set yrange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] )
94 set zero 1e-08
95 set lmargin -1
96 set bmargin -1
97 set rmargin -1
98 set tmargin -1
99 #set locale "C"
100