File: chunk_yaxis

package info (click to toggle)
ploticus 2.33-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,608 kB
  • ctags: 2,838
  • sloc: ansic: 48,139; perl: 913; sh: 393; makefile: 138
file content (44 lines) | stat: -rw-r--r-- 899 bytes parent folder | download | duplicates (2)
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
/// chunk included by prefabs to do standard Y axis...
#if left in @yaxis
  #proc yaxis
  stubs: inc @yinc
  stubcull: yes
  #if @ylbl = "#usefname"
    label: @y
  #else
    #ifspec ylbl label
  #endif
  #ifspec ystubfmt stubformat
  #ifspec ylbldet labeldetails
  #ifspec ygrid grid
  #ifspec ylbldistance labeldistance
  //
  // added 5/25/04 scg
  #ifspec ystubdet stubdetails
#endif

//
// added 5/25/04 scg
#if right in @yaxis 
  #proc yaxis
  location: max
  #if $def(ystubdet) = 1
    stubdetails: align=left adjust=0.3,0  @ystubdet
  #else
    stubdetails: align=left  adjust=0.3,0
  #endif
  ticlen: -0.08
  // the rest is replicated from above..
  stubs: inc @yinc
  stubcull: yes
  #if @ylbl = "#usefname"
    label: @y
  #else
    #ifspec ylbl label
  #endif
  #ifspec ystubfmt stubformat
  #ifspec ylbldet labeldetails
  #ifspec ygrid grid
  #ifspec ylbldistance labeldistance

#endif