Debian Codegraph @

prefabs/chunk_xaxis

raw
1 //// chunk included by prefabs to do standard x axis
2 #if bottom in @xaxis
3 #proc xaxis
4 #if @xlbl = "#usefname"
5 label: @x
6 #else
7 #ifspec xlbl label
8 #endif
9 #ifspec xlbldet labeldetails
10 #if @xinc = datematic
11 stubs: datematic
12 #else
13 stubs: inc @xinc
14 #endif
15 #ifspec stubfmt stubformat
16 #ifspec xstubfmt stubformat
17 //
18 // added 5/25/04 scg
19 #ifspec xstubdet stubdetails
20 stubrange: @XMIN
21 #ifspec stubvert
22 #ifspec xgrid grid
23 #ifspec xgridblocks gridblocks
24 #ifspec xgridskip gridskip
25 #ifspec xlbldistance labeldistance
26
27 // the following added scg 12/16/08...
28 #ifspec firststub
29 #ifspec laststub
30
31 #endif
32
33 // added scg 8/4/04...
34 #if top in @xaxis
35 #proc xaxis
36 location: max
37 #if $def(xstubdet) = 1
38 stubdetails: adjust=0,0.2 @xstubdet
39 #else
40 stubdetails: adjust=0,0.2
41 #endif
42 ticlen: -0.08
43
44 // the rest is replicated from above..
45 #if @xlbl = "#usefname"
46 label: @x
47 #else
48 #ifspec xlbl label
49 #endif
50 #ifspec xlbldet labeldetails
51 #if @xinc = datematic
52 stubs: datematic
53 #else
54 stubs: inc @xinc
55 #endif
56 #ifspec stubfmt stubformat
57 #ifspec xstubfmt stubformat
58 //
59 // added 5/25/04 scg
60 stubrange: @XMIN
61 #ifspec stubvert
62 #ifspec xgrid grid
63 #ifspec xlbldistance labeldistance
64
65 // the following added scg 12/16/08...
66 #ifspec firststub
67 #ifspec laststub
68
69 #endif