tioga 1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. data/Tioga_README +372 -0
  2. data/lgpl.txt +504 -0
  3. data/split/Dtable/defs.h +33 -0
  4. data/split/Dtable/dtable.c +1928 -0
  5. data/split/Dtable/dtable_intern.h +144 -0
  6. data/split/Dtable/dvector.h +61 -0
  7. data/split/Dtable/extconf.rb +4 -0
  8. data/split/Dtable/include/dtable.h +35 -0
  9. data/split/Dtable/lib/Dtable_extras.rb +90 -0
  10. data/split/Dtable/namespace.h +47 -0
  11. data/split/Dtable/safe_double.h +104 -0
  12. data/split/Dtable/symbols.c +92 -0
  13. data/split/Dtable/symbols.h +52 -0
  14. data/split/Dvector/defs.h +33 -0
  15. data/split/Dvector/dvector.c +5486 -0
  16. data/split/Dvector/dvector_intern.h +142 -0
  17. data/split/Dvector/extconf.rb +4 -0
  18. data/split/Dvector/include/dvector.h +61 -0
  19. data/split/Dvector/lib/Dvector_extras.rb +328 -0
  20. data/split/Dvector/lib/Numeric_extras.rb +134 -0
  21. data/split/Dvector/namespace.h +47 -0
  22. data/split/Dvector/safe_double.h +104 -0
  23. data/split/Dvector/symbols.c +92 -0
  24. data/split/Dvector/symbols.h +52 -0
  25. data/split/Flate/defs.h +33 -0
  26. data/split/Flate/extconf.rb +19 -0
  27. data/split/Flate/flate.c +156 -0
  28. data/split/Flate/flate_intern.h +97 -0
  29. data/split/Flate/include/flate.h +98 -0
  30. data/split/Flate/namespace.h +47 -0
  31. data/split/Flate/safe_double.h +104 -0
  32. data/split/Flate/symbols.c +92 -0
  33. data/split/Flate/symbols.h +52 -0
  34. data/split/Function/defs.h +33 -0
  35. data/split/Function/dvector.h +61 -0
  36. data/split/Function/extconf.rb +4 -0
  37. data/split/Function/function.c +988 -0
  38. data/split/Function/joint_qsort.c +258 -0
  39. data/split/Function/lib/Function_extras.rb +44 -0
  40. data/split/Function/namespace.h +47 -0
  41. data/split/Function/safe_double.h +104 -0
  42. data/split/Function/symbols.c +92 -0
  43. data/split/Function/symbols.h +52 -0
  44. data/split/Tioga/axes.c +774 -0
  45. data/split/Tioga/defs.h +33 -0
  46. data/split/Tioga/dtable.h +35 -0
  47. data/split/Tioga/dvector.h +61 -0
  48. data/split/Tioga/extconf.rb +4 -0
  49. data/split/Tioga/figures.c +672 -0
  50. data/split/Tioga/figures.h +855 -0
  51. data/split/Tioga/flate.h +98 -0
  52. data/split/Tioga/init.c +524 -0
  53. data/split/Tioga/lib/Arcs_and_Circles.rb +64 -0
  54. data/split/Tioga/lib/ColorConstants.rb +274 -0
  55. data/split/Tioga/lib/Colorbars.rb +10 -0
  56. data/split/Tioga/lib/Colormaps.rb +105 -0
  57. data/split/Tioga/lib/Coordinate_Conversions.rb +194 -0
  58. data/split/Tioga/lib/Creating_Paths.rb +94 -0
  59. data/split/Tioga/lib/Doc.rb +91 -0
  60. data/split/Tioga/lib/Executive.rb +515 -0
  61. data/split/Tioga/lib/FigMkr.rb +2224 -0
  62. data/split/Tioga/lib/FigureConstants.rb +125 -0
  63. data/split/Tioga/lib/Figures_and_Plots.rb +268 -0
  64. data/split/Tioga/lib/Images.rb +278 -0
  65. data/split/Tioga/lib/Legends.rb +190 -0
  66. data/split/Tioga/lib/MarkerConstants.rb +122 -0
  67. data/split/Tioga/lib/Markers.rb +129 -0
  68. data/split/Tioga/lib/Page_Frame_Bounds.rb +567 -0
  69. data/split/Tioga/lib/Rectangles.rb +94 -0
  70. data/split/Tioga/lib/Shading.rb +100 -0
  71. data/split/Tioga/lib/Special_Paths.rb +307 -0
  72. data/split/Tioga/lib/Strokes.rb +129 -0
  73. data/split/Tioga/lib/TeX_Text.rb +454 -0
  74. data/split/Tioga/lib/TexPreamble.rb +358 -0
  75. data/split/Tioga/lib/Titles_and_Labels.rb +306 -0
  76. data/split/Tioga/lib/Transparency.rb +89 -0
  77. data/split/Tioga/lib/Using_Paths.rb +164 -0
  78. data/split/Tioga/lib/Utils.rb +74 -0
  79. data/split/Tioga/lib/X_and_Y_Axes.rb +749 -0
  80. data/split/Tioga/lib/irb_tioga.rb +122 -0
  81. data/split/Tioga/lib/tioga.rb +1 -0
  82. data/split/Tioga/lib/tioga_ui.rb +5 -0
  83. data/split/Tioga/lib/tioga_ui_cmds.rb +793 -0
  84. data/split/Tioga/makers.c +989 -0
  85. data/split/Tioga/mk_tioga_sty.rb +53 -0
  86. data/split/Tioga/namespace.h +47 -0
  87. data/split/Tioga/pdf_font_dicts.c +18253 -0
  88. data/split/Tioga/pdfcolor.c +486 -0
  89. data/split/Tioga/pdfcoords.c +505 -0
  90. data/split/Tioga/pdffile.c +342 -0
  91. data/split/Tioga/pdfimage.c +536 -0
  92. data/split/Tioga/pdfpath.c +914 -0
  93. data/split/Tioga/pdfs.h +229 -0
  94. data/split/Tioga/pdftext.c +443 -0
  95. data/split/Tioga/safe_double.h +104 -0
  96. data/split/Tioga/symbols.c +92 -0
  97. data/split/Tioga/symbols.h +52 -0
  98. data/split/Tioga/texout.c +380 -0
  99. data/split/defs.h +33 -0
  100. data/split/extconf.rb +107 -0
  101. data/split/mkmf2.rb +1612 -0
  102. data/split/namespace.h +47 -0
  103. data/split/safe_double.h +104 -0
  104. data/split/scripts/tioga +4 -0
  105. data/split/symbols.c +92 -0
  106. data/split/symbols.h +52 -0
  107. data/tests/dtable_test.data +6 -0
  108. data/tests/dvector_read_test.data +1 -0
  109. data/tests/dvector_test.data +101 -0
  110. data/tests/tc_Dtable.rb +221 -0
  111. data/tests/tc_Dvector.rb +791 -0
  112. data/tests/tc_FMkr.rb +162 -0
  113. data/tests/tc_Flate.rb +45 -0
  114. data/tests/tc_Function.rb +111 -0
  115. data/tests/ts_Tioga.rb +38 -0
  116. metadata +163 -0
@@ -0,0 +1,89 @@
1
+ # Transparency.rb
2
+
3
+ module Tioga
4
+
5
+ # These are the attributes for using transparency in PDF graphics. The transparency is speficied by a fraction, with 1.0 for fully transparent and 0.0 for fully opaque. Since transparency can also be thought of in terms of opacity, there are accessors defined in those terms also. Thus, for example, setting fill_opacity to 0.2 is equivalent to setting fill_transparency to 0.8.
6
+
7
+ class Transparency < Doc < FigureMaker
8
+
9
+ # :call-seq:
10
+ # stroke_opacity
11
+ # stroke_opacity = a_float
12
+ #
13
+ # Defines the opacity to use for #stroke operations.
14
+ # Valid values are between 1.0 (fully opaque) to 0.0 (fully transparent). Default is 1.0 (opaque).
15
+ def stroke_opacity
16
+ end
17
+
18
+ # :call-seq:
19
+ # opacity_for_stroke
20
+ # opacity_for_stroke = a_float
21
+ #
22
+ # Alias for stroke_opacity.
23
+ def opacity_for_stroke
24
+ end
25
+
26
+ # :call-seq:
27
+ # fill_opacity
28
+ # fill_opacity = a_float
29
+ #
30
+ # Defines the opacity to use for #fill and other non-stroke graphics operations including images.
31
+ # Valid values are between 1.0 (fully opaque) to 0.0 (fully transparent). Default is 1.0 (opaque).
32
+ #
33
+ # Example: on left, fill_opacity = 1.0; on right fill_opacity = 0.6
34
+ #
35
+ # http://theory.kitp.ucsb.edu/~paxton/tioga_jpegs/Squares.jpg
36
+ def fill_opacity
37
+ end
38
+
39
+ # :call-seq:
40
+ # opacity_for_fill
41
+ # opacity_for_fill = a_float
42
+ #
43
+ # Alias for fill_opacity.
44
+ def opacity_for_fill
45
+ end
46
+
47
+
48
+
49
+ # :call-seq:
50
+ # stroke_transparency
51
+ # stroke_transparency = a_float
52
+ #
53
+ # Defines the transparency to use for #stroke operations.
54
+ # Valid values are between 0.0 (fully opaque) to 1.0 (fully transparent). Default is 0.0 (opaque).
55
+ def stroke_transparency
56
+ end
57
+
58
+ # :call-seq:
59
+ # transparency_for_stroke
60
+ # transparency_for_stroke = a_float
61
+ #
62
+ # Alias for stroke_transparency.
63
+ def transparency_for_stroke
64
+ end
65
+
66
+ # :call-seq:
67
+ # fill_transparency
68
+ # fill_transparency = a_float
69
+ #
70
+ # Defines the transparency to use for #fill and other non-stroke graphics operations including images.
71
+ # Valid values are between 0.0 (fully opaque) to 1.0 (fully transparent). Default is 0.0 (opaque).
72
+ #
73
+ # Example: on left, fill_transparency = 0.0; on right fill_transparency = 0.4
74
+ #
75
+ # http://theory.kitp.ucsb.edu/~paxton/tioga_jpegs/Squares.jpg
76
+ def fill_transparency
77
+ end
78
+
79
+ # :call-seq:
80
+ # transparency_for_fill
81
+ # transparency_for_fill = a_float
82
+ #
83
+ # Alias for fill_transparency.
84
+ def transparency_for_fill
85
+ end
86
+
87
+
88
+ end # class
89
+ end # module Tioga
@@ -0,0 +1,164 @@
1
+ # Using_Paths.rb
2
+
3
+ module Tioga
4
+
5
+ # These are the methods and attributes related to using previously created paths in PDF graphics operations. See also Tutorial::Tutorial::SimpleFigure.
6
+
7
+ class Using_Paths < Doc < FigureMaker
8
+
9
+ # :call-seq:
10
+ # stroke_color
11
+ # stroke_color = a_color
12
+ #
13
+ # Defines the color to use for painting by #stroke operations.
14
+ def stroke_color
15
+ end
16
+
17
+ # :call-seq:
18
+ # line_color
19
+ # line_color = a_color
20
+ #
21
+ # Alias for stroke_color.
22
+ def line_color
23
+ end
24
+
25
+ # :call-seq:
26
+ # fill_color
27
+ # fill_color = a_color
28
+ #
29
+ # Defines the color to use for painting by #fill and other non-stroke graphics operations.
30
+ def fill_color
31
+ end
32
+
33
+
34
+ # :call-seq:
35
+ # stroke
36
+ #
37
+ # Paints a line along the current path. The stroked line follows each
38
+ # straight or curved segment in the path, centered on the segment with sides parallel
39
+ # to it. Each of the path's subpaths is treated separately.
40
+ #
41
+ # The results of the stroke operator depend on the current settings of various parameters
42
+ # in the graphics state.
43
+ # * The width of the stroked line is determined by the current line_width attribute.
44
+ # * The color of the line is determined by the current stroke_color attribute.
45
+ # * The line can be painted either solid or with a dash pattern, as specified by the
46
+ # current line_type attribute.
47
+ # * If a subpath is open, the unconnected ends are treated according to the current
48
+ # line_cap attribute, which may be <tt>LINE_CAP_BUTT</tt>, <tt>LINE_CAP_ROUND</tt>, or <tt>LINE_CAP_SQUARE</tt>.
49
+ # * Wherever two consecutive segments are connected, the joint between them is
50
+ # treated according to the current line_join attribute, which may be <tt>LINE_JOIN_MITER</tt>,
51
+ # <tt>LINE_JOIN_ROUND</tt>, or <tt>LINE_JOIN_BEVEL</tt>. Mitered joins are also subject to the
52
+ # current miter_limit setting.
53
+ # <b>NOTE</b>: Points at which unconnected segments happen
54
+ # to meet or intersect receive no special treatment. In particular, connecting the
55
+ # ends of a subpath with an explicit add_point_to_path operator rather than with
56
+ # close_path may result in a messy corner, because line caps will be applied
57
+ # instead of a line join.
58
+ #
59
+ # If a subpath is degenerate (consists of a single-point closed path or of two or
60
+ # more points at the same coordinates), the stroke operator paints it only if round line
61
+ # caps have been specified, producing a filled circle centered at the single point. If
62
+ # butt or projecting square line caps have been specified, stroke produces no output,
63
+ # because the orientation of the caps would be indeterminate. A single-point open subpath
64
+ # (specified by a trailing move_to_point operator) produces no output.
65
+ def stroke
66
+ end
67
+
68
+ # :call-seq:
69
+ # close_and_stroke
70
+ #
71
+ # Close and #stroke the current path.
72
+ def close_and_stroke
73
+ end
74
+
75
+ # :call-seq:
76
+ # fill
77
+ #
78
+ # Fill the path, using the nonzero winding number rule to determine the region to fill.
79
+ # Any subpaths that are open are implicitly closed before being filled. The nonzero
80
+ # winding number rule determines whether a given point is inside a path by conceptually
81
+ # drawing a ray from that point to infinity in any direction and then examining the
82
+ # places where a segment of the path crosses the ray. Starting with a count of 0, the
83
+ # rule adds 1 each time a path segment crosses the ray from left to right and subtracts
84
+ # 1 each time a segment crosses from right to left. After counting all the crossings,
85
+ # if the result is 0 then the point is outside the path; otherwise it is inside.
86
+ #
87
+ # For simple convex paths, the nonzero winding number rule defines the inside and
88
+ # outside as one would intuitively expect. The more interesting cases are those
89
+ # involving complex or self-intersecting paths. For a path consisting of a five-pointed
90
+ # star, drawn with five connected straight line segments intersecting each other, the
91
+ # rule considers the inside to be the entire area enclosed by the star, including the
92
+ # pentagon in the center. For a path composed of nested squares, the area enclosed by
93
+ # both is considered to be inside, provided that both squares are drawn in the same direction.
94
+ # If the squares are drawn in opposite directions, only the area between them is inside,
95
+ # according to the nonzero winding number rule. See also #eofill.
96
+ #
97
+ # http://theory.kitp.ucsb.edu/~paxton/tioga_jpegs/Fill_Rules.jpg
98
+ def fill
99
+ end
100
+
101
+ # :call-seq:
102
+ # eofill
103
+ #
104
+ # Fill the path, using the even-odd rule to determine the region to fill. The even-odd
105
+ # rule determines the insideness of a point by drawing a ray from that point in any
106
+ # direction and simply counting the number of path segments that cross the ray,
107
+ # regardless of direction. If this number is odd, the point is inside; if even,
108
+ # the point is outside. This yields the same results as the nonzero winding number
109
+ # rule for paths with simple shapes, but produces different results for more complex
110
+ # shapes. See also #fill.
111
+ def eofill
112
+ end
113
+
114
+ # :call-seq:
115
+ # fill_and_stroke
116
+ #
117
+ # Fill and then stroke the path, using the nonzero winding number rule to determine
118
+ # the region to fill (see #fill). This produces the same result as constructing two identical
119
+ # path objects, painting the first with #fill and the second with #stroke. Note, however, that
120
+ # the filling and stroking portions of the operation consult different values of
121
+ # several graphics state parameters, such as the current color.
122
+ def fill_and_stroke
123
+ end
124
+
125
+ # :call-seq:
126
+ # eofill_and_stroke
127
+ #
128
+ # Fill and then stroke the path, using the even-odd rule to determine the region to fill (see #eofill).
129
+ def eofill_and_stroke
130
+ end
131
+
132
+ # :call-seq:
133
+ # close_fill_and_stroke
134
+ #
135
+ # Close, fill, and then stroke the path, using the nonzero winding number rule to
136
+ # determine the region to fill (see #fill).
137
+ def close_fill_and_stroke
138
+ end
139
+
140
+ # :call-seq:
141
+ # close_eofill_and_stroke
142
+ #
143
+ # Close, fill, and then stroke the path, using the even-odd rule to determine the region to fill.
144
+ def close_eofill_and_stroke
145
+ end
146
+
147
+ # :call-seq:
148
+ # clip
149
+ #
150
+ # Sets clipping path using the winding number rule (see #fill for description).
151
+ def clip
152
+ end
153
+
154
+ # :call-seq:
155
+ # eoclip
156
+ #
157
+ # Sets clipping path using the even-odd rule (see #eofill for description).
158
+ def eoclip
159
+ end
160
+
161
+
162
+
163
+ end # class
164
+ end # module Tioga
@@ -0,0 +1,74 @@
1
+ # Utils.rb
2
+
3
+ =begin
4
+ Copyright (C) 2006 Vincent Fourmond
5
+
6
+ This file is part of Tioga.
7
+
8
+ Tioga is free software; you can redistribute it and/or modify
9
+ it under the terms of the GNU General Library Public License as published
10
+ by the Free Software Foundation; either version 2 of the License, or
11
+ (at your option) any later version.
12
+
13
+ Tioga is distributed in the hope that it will be useful,
14
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ GNU Library General Public License for more details.
17
+
18
+ You should have received a copy of the GNU Library General Public License
19
+ along with Tioga; if not, write to the Free Software
20
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
+ =end
22
+
23
+ # This file is meant to receive useful functions not strictly speaking
24
+ # part of the graphical library, but that can come in handy for it.
25
+
26
+
27
+ module Tioga
28
+
29
+ # The Utils module contains some useful functions that can help Tioga
30
+ # users. They are not strictly speaking part of the graphical library,
31
+ # but provides functionnalities Tioga users will certainly need at
32
+ # some point.
33
+ module Utils
34
+
35
+ # This function returns a string that is suitable for inclusion in
36
+ # a TeX document: all nasty characters are escaped properly. It will
37
+ # not work however if you redefine TeX character classes, but then
38
+ # you should know what you're doing.
39
+ def tex_quote_text(text)
40
+ a = text.gsub("\\", "\\BS")
41
+ a.gsub!(/([{}$%#_^~])/) do
42
+ "\\#{$1}"
43
+ end
44
+ return a
45
+ end
46
+
47
+ # Dimension conversion constants taken straight from the TeXbook
48
+ DIMENSION_CONVERSION = {
49
+ "pt" => (72.0/72.27),
50
+ "bp" => 1.0,
51
+ "in" => 72.0,
52
+ "cm" => (72.0/2.54),
53
+ "mm" => (72.0/25.4),
54
+ }
55
+
56
+ # Returns the value of the given TeX dimension in postscript points.
57
+ def tex_dimension_to_bp(dim)
58
+ for unit, val in DIMENSION_CONVERSION
59
+ if dim =~ /^\s*([\d.]+)\s*#{unit}$/
60
+ return $1.to_f * val
61
+ end
62
+ end
63
+ # We take it to be centimeters by default ????
64
+ if dim =~ /^\s*([\d.]+)\s*$/
65
+ warn "tex_dimension_to_bp: No dimension was specified, " +
66
+ "using centimeters"
67
+ return $1.to_f * DIMENSION_CONVERSION["cm"]
68
+ end
69
+ raise "'#{dim}' is not a valid TeX dimension"
70
+ end
71
+
72
+
73
+ end
74
+ end
@@ -0,0 +1,749 @@
1
+ # X_and_Y_Axes.rb
2
+
3
+ module Tioga
4
+ =begin rdoc
5
+
6
+ These are the methods and attributes for the plot axes.
7
+
8
+ See Tutorial::Plots for more information.
9
+
10
+ =end
11
+
12
+
13
+ class X_and_Y_Axes < Doc < FigureMaker
14
+
15
+ # :call-seq:
16
+ # show_xaxis
17
+ #
18
+ # If the flag xaxis_visible is currently +true+, then this routine shows the x axis
19
+ # at the location specified by xaxis_loc. If the flag is +false+, it simply returns.
20
+ def show_xaxis
21
+ end
22
+
23
+ # :call-seq:
24
+ # show_yaxis
25
+ #
26
+ # If the flag yaxis_visible is currently +true+, then this routine shows the y axis
27
+ # at the location specified by yaxis_loc. If the flag is +false+, it simply returns.
28
+ def show_yaxis
29
+ end
30
+
31
+ # :call-seq:
32
+ # show_top_edge
33
+ #
34
+ # If the flag top_edge_visible is +true+ and the xaxis_loc is not +TOP+, then
35
+ # shows the top edge of the frame. Otherwise, simply returns.
36
+ def show_top_edge
37
+ end
38
+
39
+ # :call-seq:
40
+ # show_bottom_edge
41
+ #
42
+ # If the flag bottom_edge_visible is +true+ and the xaxis_loc is not +BOTTOM+, then
43
+ # shows the bottom edge of the frame. Otherwise, simply returns.
44
+ def show_bottom_edge
45
+ end
46
+
47
+ # :call-seq:
48
+ # show_left_edge
49
+ #
50
+ # If the flag left_edge_visible is +true+ and the yaxis_loc is not +LEFT+, then
51
+ # shows the left edge of the frame. Otherwise, simply returns.
52
+ def show_left_edge
53
+ end
54
+
55
+ # :call-seq:
56
+ # show_right_edge
57
+ #
58
+ # If the flag right_edge_visible is +true+ and the yaxis_loc is not +RIGHT+, then
59
+ # shows the right edge of the frame. Otherwise, simply returns.
60
+ def show_right_edge
61
+ end
62
+
63
+ # :call-seq:
64
+ # xaxis_reversed
65
+ #
66
+ # Flag is +true+ if the bounds_left is not the bounds_xmin.
67
+ def xaxis_reversed
68
+ end
69
+
70
+ # :call-seq:
71
+ # yaxis_reversed
72
+ #
73
+ # Flag is +true+ if the bounds_bottom is not the bounds_ymin.
74
+ def yaxis_reversed
75
+ end
76
+
77
+
78
+ # :call-seq:
79
+ # top_edge_type
80
+ # top_edge_type = an_edge_type
81
+ #
82
+ # Determines the axis type to use when showing the top edge of a plot. Valid
83
+ # types are the following predefined constants: +AXIS_HIDDEN+, +AXIS_LINE_ONLY+,
84
+ # +AXIS_WITH_MAJOR_TICKS_ONLY+, +AXIS_WITH_TICKS_ONLY+, +AXIS_WITH_MAJOR_TICKS_AND_NUMERIC_LABELS+,
85
+ # and +AXIS_WITH_TICKS_AND_NUMERIC_LABELS+.
86
+ def top_edge_type
87
+ end
88
+
89
+
90
+ # :call-seq:
91
+ # top_edge_visible
92
+ # top_edge_visible = false
93
+ #
94
+ # If +true+, then it is okay for tioga to show the top edge of a plot. If +false+,
95
+ # then calls on show_top_edge return immediately.
96
+ # This attribute is "one-way-only" in that it starts +true+ and can be
97
+ # set +false+, but cannot be reset to +true+ except by restoring the
98
+ # graphics state in which is was still +true+. This is intended
99
+ # to help control the behavior of plots when embedded as subplots in a
100
+ # larger configuration. Note that this does not effect showing the x axis
101
+ # on the top; it only applies to calls on show_top_edge.
102
+ def top_edge_visible
103
+ end
104
+
105
+ # :call-seq:
106
+ # bottom_edge_type
107
+ # bottom_edge_type = an_edge_type
108
+ #
109
+ # Determines the axis type to use when showing the bottom edge of a plot. Valid
110
+ # types are the following predefined constants: +AXIS_HIDDEN+, +AXIS_LINE_ONLY+,
111
+ # +AXIS_WITH_MAJOR_TICKS_ONLY+, +AXIS_WITH_TICKS_ONLY+, +AXIS_WITH_MAJOR_TICKS_AND_NUMERIC_LABELS+,
112
+ # and +AXIS_WITH_TICKS_AND_NUMERIC_LABELS+.
113
+ def bottom_edge_type
114
+ end
115
+
116
+
117
+ # :call-seq:
118
+ # bottom_edge_visible
119
+ # bottom_edge_visible = false
120
+ #
121
+ # If +true+, then it is okay for tioga to show the bottom edge of a plot. If +false+,
122
+ # then calls on show_bottom_edge return immediately.
123
+ # This attribute is "one-way-only" in that it starts +true+ and can be
124
+ # set +false+, but cannot be reset to +true+ except by restoring the
125
+ # graphics state in which is was still +true+. This is intended
126
+ # to help control the behavior of plots when embedded as subplots in a
127
+ # larger configuration. Note that this does not effect showing the x axis
128
+ # on the bottom; it only applies to calls on show_bottom_edge.
129
+ def bottom_edge_visible
130
+ end
131
+
132
+
133
+ # :call-seq:
134
+ # left_edge_type
135
+ # left_edge_type = an_edge_type
136
+ #
137
+ # Determines the axis type to use when showing the left edge of a plot. Valid
138
+ # types are the following predefined constants: +AXIS_HIDDEN+, +AXIS_LINE_ONLY+,
139
+ # +AXIS_WITH_MAJOR_TICKS_ONLY+, +AXIS_WITH_TICKS_ONLY+, +AXIS_WITH_MAJOR_TICKS_AND_NUMERIC_LABELS+,
140
+ # and +AXIS_WITH_TICKS_AND_NUMERIC_LABELS+.
141
+ def left_edge_type
142
+ end
143
+
144
+
145
+ # :call-seq:
146
+ # left_edge_visible
147
+ # left_edge_visible = false
148
+ #
149
+ # If +true+, then it is okay for tioga to show the left edge of a plot. If +false+,
150
+ # then calls on show_left_edge return immediately.
151
+ # This attribute is "one-way-only" in that it starts +true+ and can be
152
+ # set +false+, but cannot be reset to +true+ except by restoring the
153
+ # graphics state in which is was still +true+. This is intended
154
+ # to help control the behavior of plots when embedded as subplots in a
155
+ # larger configuration. Note that this does not effect showing the y axis
156
+ # on the left; it only applies to calls on show_left_edge.
157
+ def left_edge_visible
158
+ end
159
+
160
+ # :call-seq:
161
+ # right_edge_type
162
+ # right_edge_type = an_edge_type
163
+ #
164
+ # Determines the axis type to use when showing the right edge of a plot. Valid
165
+ # types are the following predefined constants: +AXIS_HIDDEN+, +AXIS_LINE_ONLY+,
166
+ # +AXIS_WITH_MAJOR_TICKS_ONLY+, +AXIS_WITH_TICKS_ONLY+, +AXIS_WITH_MAJOR_TICKS_AND_NUMERIC_LABELS+,
167
+ # and +AXIS_WITH_TICKS_AND_NUMERIC_LABELS+.
168
+ def right_edge_type
169
+ end
170
+
171
+ # :call-seq:
172
+ # right_edge_visible
173
+ # right_edge_visible = false
174
+ #
175
+ # If +true+, then it is okay for tioga to show the right edge of a plot. If +false+,
176
+ # then calls on show_right_edge return immediately.
177
+ # This attribute is "one-way-only" in that it starts +true+ and can be
178
+ # set +false+, but cannot be reset to +true+ except by restoring the
179
+ # graphics state in which is was still +true+. This is intended
180
+ # to help control the behavior of plots when embedded as subplots in a
181
+ # larger configuration. Note that this does not effect showing the y axis
182
+ # on the right; it only applies to calls on show_right_edge.
183
+ def right_edge_visible
184
+ end
185
+
186
+
187
+ # Show one of the plot axes. If _loc_ is +LEFT+, +RIGHT+, or +AT_X_ORIGIN+, and
188
+ # yaxis_visible is +true+, then the axis is shown using the current y axis settings.
189
+ # If _loc_ is +TOP+, +BOTTOM+, or +AT_Y_ORIGIN+, and xaxis_visible is +true+, then
190
+ # the axis is shown using the current x axis settings.
191
+ def show_axis(loc)
192
+ end
193
+
194
+ # Show one of the plot edges. The _loc_ argument must be one of +LEFT+, +RIGHT+, +TOP+, or +BOTTOM+.
195
+ # Left and right edges are shown using the current y axis settings. Top and bottom edges are shown
196
+ # using the x axis settings. If the corresponding edge_visible attribute has been set false, this command
197
+ # simply returns without doing anything.
198
+ def show_edge(loc)
199
+ end
200
+
201
+ # :call-seq:
202
+ # xaxis_visible
203
+ # xaxis_visible = false
204
+ #
205
+ # If +true+, then it is okay for tioga to show the x axis of a plot. If +false+,
206
+ # then calls on show_axis for the x axis return immediately.
207
+ # This attribute is "one-way-only" in that it starts +true+ and can be
208
+ # set +false+, but cannot be reset to +true+ except by restoring the
209
+ # graphics state in which is was still +true+. This is intended
210
+ # to help control the behavior of plots when embedded as subplots in a
211
+ # larger configuration. Note that this does not effect showing the top or bottom edges;
212
+ # it only applies to calls on show_axis.
213
+ def xaxis_visible
214
+ end
215
+
216
+ # :call-seq:
217
+ # xaxis_loc
218
+ # xaxis_loc = a_location
219
+ #
220
+ # Determines the location of the x axis. Valid locations are given as the
221
+ # following predefined constants: +BOTTOM+, +TOP+, and +AT_Y_ORIGIN+.
222
+ def xaxis_loc
223
+ end
224
+
225
+ # :call-seq:
226
+ # xaxis_type
227
+ # xaxis_type = an_axis_type_value
228
+ #
229
+ # Determines the axis type to use when showing the x axis of a plot. Valid
230
+ # types are the following predefined constants: +AXIS_HIDDEN+, +AXIS_LINE_ONLY+,
231
+ # +AXIS_WITH_MAJOR_TICKS_ONLY+, +AXIS_WITH_TICKS_ONLY+, +AXIS_WITH_MAJOR_TICKS_AND_NUMERIC_LABELS+,
232
+ # and +AXIS_WITH_TICKS_AND_NUMERIC_LABELS+.
233
+ def xaxis_type
234
+ end
235
+
236
+ # :call-seq:
237
+ # xaxis_numeric_label_tex
238
+ # xaxis_numeric_label_tex = a_string
239
+ #
240
+ # The string for a numeric label is put in this TeX command string to be formatted.
241
+ # For example, `$#1$' will give the numbers in math mode, while `$\mathsf{#1}$' will
242
+ # show the label using the math sans-serif font.
243
+ def xaxis_numeric_label_tex
244
+ end
245
+
246
+ # :call-seq:
247
+ # yaxis_numeric_label_tex
248
+ # yaxis_numeric_label_tex = a_string
249
+ #
250
+ # The string for a numeric label is put in this TeX command string to be formatted.
251
+ # For example, `$#1$' will give the numbers in math mode, while `$\mathsf{#1}$' will
252
+ # show the label using the math sans-serif font.
253
+ def yaxis_numeric_label_tex
254
+ end
255
+
256
+
257
+
258
+ # :call-seq:
259
+ # xaxis_numeric_label_decimal_digits
260
+ # xaxis_numeric_label_decimal_digits = an_integer_value
261
+ #
262
+ # If non-negative, then use this number of digits after the decimal when creating numeric
263
+ # labels for the x axis.
264
+ # See also tex_xaxis_numeric_label.
265
+ def xaxis_numeric_label_decimal_digits
266
+ end
267
+
268
+ # :call-seq:
269
+ # xaxis_digits_max
270
+ # xaxis_digits_max = an_integer_value
271
+ #
272
+ # If non-zero and tioga is creating numeric labels for the x axis, then numeric label
273
+ # will be switched to exponential format if it requires more than this number of digits.
274
+ def xaxis_digits_max
275
+ end
276
+
277
+ # :call-seq:
278
+ # xaxis_use_fixed_pt
279
+ # xaxis_use_fixed_pt = true_or_false
280
+ #
281
+ # If this flag is +true+, and tioga is creating numeric labels for the x axis,
282
+ # and the xaxis_log_values flag is also +true+,
283
+ # then the labels will be shown using fixed point notation rather than exponential.
284
+ # For example, a label at x location 3.0 will display as "1000" rather than as "10^3",
285
+ # and a label at x == -2.0 will display as "0.01" rather than as "10^-2".
286
+ def xaxis_use_fixed_pt
287
+ end
288
+
289
+ # :call-seq:
290
+ # xaxis_number_of_minor_intervals
291
+ # xaxis_number_of_minor_intervals = an_integer_value
292
+ #
293
+ # Determines the number of minor intervals making up the distance between major ticks marks
294
+ # on the x axis. If this is set to 0, then tioga will pick the number.
295
+ def xaxis_number_of_minor_intervals
296
+ end
297
+
298
+ # :call-seq:
299
+ # xaxis_min_between_major_ticks
300
+ # xaxis_min_between_major_ticks = a_float
301
+ #
302
+ # When tioga picks the interval between major tick marks on the x axis, it will ensure that
303
+ # the interval is at least this large. Note that this distance is given in units of the
304
+ # default text height rather than in x coordinates.
305
+ def xaxis_min_between_major_ticks
306
+ end
307
+
308
+ # :call-seq:
309
+ # xaxis_tick_labels
310
+ # xaxis_tick_labels = array_or_nil
311
+ #
312
+ # If +nil+, then tioga will create numeric labels for the major ticks on the x axis.
313
+ # Otherwise, you must also specify xaxis_locations_for_major_ticks, and xaxis_tick_labels
314
+ # must be an equal length array of strings giving the corresponding labels.
315
+ #
316
+ # See also yaxis_tick_labels.
317
+ def xaxis_tick_labels
318
+ end
319
+
320
+ # :call-seq:
321
+ # xaxis_locations_for_major_ticks
322
+ # xaxis_locations_for_major_ticks = a_dvector_or_nil
323
+ #
324
+ # If +nil+, then tioga will pick locations for major ticks on the x axis. Otherwise, this should be
325
+ # Dvector of locations in x figure coordinates in strictly increasing order.
326
+ def xaxis_locations_for_major_ticks
327
+ end
328
+
329
+ # :call-seq:
330
+ # xaxis_locations_for_minor_ticks
331
+ # xaxis_locations_for_minor_ticks = a_dvector_or_nil
332
+ #
333
+ # If +nil+, then tioga will pick locations for minor ticks on the x axis. Otherwise, this should be
334
+ # Dvector of locations in x figure coordinates in strictly increasing order.
335
+ def xaxis_locations_for_minor_ticks
336
+ end
337
+
338
+ # :call-seq:
339
+ # xaxis_numeric_label_decimal_digits
340
+ # xaxis_numeric_label_decimal_digits = an_integer_value
341
+ #
342
+ # If 0, then tioga will pick the interval between major tick marks on the y axis.
343
+ # Otherwise, this will be used as the interval in y coordinates for the spacing between major ticks.
344
+ def yaxis_tick_interval
345
+ end
346
+
347
+ # :call-seq:
348
+ # xaxis_log_values
349
+ # xaxis_log_values = true_or_false
350
+ #
351
+ # If +true+, then locations along the x axis are to be treated as log values (base 10).
352
+ # This changes both the default placing of tick marks and the appearance of numeric labels.
353
+ def xaxis_log_values
354
+ end
355
+
356
+ # :call-seq:
357
+ # xaxis_ticks_inside
358
+ # xaxis_ticks_inside = true_or_false
359
+ #
360
+ # If +true+, then ticks will be added along the x axis inside the plot frame.
361
+ # If +false+, then no ticks will appear inside the frame along the x axis.
362
+ def xaxis_ticks_inside
363
+ end
364
+
365
+ # :call-seq:
366
+ # xaxis_ticks_outside
367
+ # xaxis_ticks_outside = true_or_false
368
+ #
369
+ # If +true+, then ticks will be added along the x axis outside the plot frame.
370
+ # If +false+, then no ticks will appear outside the frame along the x axis.
371
+ def xaxis_ticks_outside
372
+ end
373
+
374
+ # :call-seq:
375
+ # xaxis_major_tick_length
376
+ # xaxis_major_tick_length = a_float
377
+ #
378
+ # Length of major ticks on the x axis measured in units of the default text height.
379
+ def xaxis_major_tick_length
380
+ end
381
+
382
+ # :call-seq:
383
+ # xaxis_minor_tick_length
384
+ # xaxis_minor_tick_length = a_float
385
+ #
386
+ # Length of minor ticks on the x axis measured in units of the default text height.
387
+ def xaxis_minor_tick_length
388
+ end
389
+
390
+ # :call-seq:
391
+ # xaxis_line_width
392
+ # xaxis_line_width = a_float
393
+ #
394
+ # Value for the line_width attribute when painting the x axis line.
395
+ def xaxis_line_width
396
+ end
397
+
398
+ # :call-seq:
399
+ # xaxis_major_tick_width
400
+ # xaxis_major_tick_width = a_float
401
+ #
402
+ # Value for the line_width attribute when painting the x axis major tick marks.
403
+ def xaxis_major_tick_width
404
+ end
405
+
406
+ # :call-seq:
407
+ # xaxis_minor_tick_width
408
+ # xaxis_minor_tick_width = a_float
409
+ #
410
+ # Value for the line_width attribute when painting the x axis minor tick marks.
411
+ def xaxis_minor_tick_width
412
+ end
413
+
414
+ # :call-seq:
415
+ # xaxis_stroke_color
416
+ # xaxis_stroke_color = color_value
417
+ #
418
+ # Value for the stroke_color attribute when painting the x axis.
419
+ def xaxis_stroke_color
420
+ end
421
+
422
+ # :call-seq:
423
+ # xaxis_numeric_label_scale
424
+ # xaxis_numeric_label_scale = a_float
425
+ #
426
+ # Scaling factor relative to default_text_scale for the numeric labels on the x axis in plots.
427
+ # See also tex_xaxis_numeric_label.
428
+ def xaxis_numeric_label_scale
429
+ end
430
+
431
+ # :call-seq:
432
+ # xaxis_numeric_label_shift
433
+ # xaxis_numeric_label_shift = a_float
434
+ #
435
+ # Distance to shift the reference point for showing numeric labels on the x axis
436
+ # measured in character heights with positive directed out away from the plot for
437
+ # x axis on top or bottom, or toward positive y values for x axis at y origin.
438
+ # See also tex_xaxis_numeric_label.
439
+ def xaxis_numeric_label_shift
440
+ end
441
+
442
+ # :call-seq:
443
+ # xaxis_numeric_label_angle
444
+ # xaxis_numeric_label_angle = a_float_in_degrees
445
+ #
446
+ # Numeric labels on the x axis are rotated by this angle from vertical.
447
+ # See also tex_xaxis_numeric_label.
448
+ def xaxis_numeric_label_angle
449
+ end
450
+
451
+ # :call-seq:
452
+ # xaxis_numeric_label_alignment
453
+ # xaxis_numeric_label_alignment = an_alignment
454
+ #
455
+ # The #alignment setting for numeric labels on the x axis.
456
+ # See also tex_xaxis_numeric_label.
457
+ def xaxis_numeric_label_alignment
458
+ end
459
+
460
+ # :call-seq:
461
+ # xaxis_numeric_label_justification
462
+ # xaxis_numeric_label_justification = a_justification
463
+ #
464
+ # The #justification setting for numeric labels on the x axis.
465
+ # See also tex_xaxis_numeric_label.
466
+ def xaxis_numeric_label_justification
467
+ end
468
+
469
+ # :call-seq:
470
+ # yaxis_visible
471
+ # yaxis_visible = false
472
+ #
473
+ # If +true+, then it is okay for tioga to show the y axis of a plot. If +false+,
474
+ # then calls on show_axis for the y axis return immediately.
475
+ # This attribute is "one-way-only" in that it starts +true+ and can be
476
+ # set +false+, but cannot be reset to +true+ except by restoring the
477
+ # graphics state in which is was still +true+. This is intended
478
+ # to help control the behavior of plots when embedded as subplots in a
479
+ # larger configuration. Note that this does not effect showing the left or right edges;
480
+ # it only applies to calls on show_axis.
481
+ def yaxis_visible
482
+ end
483
+
484
+ # :call-seq:
485
+ # yaxis_loc
486
+ # yaxis_loc = a_location
487
+ #
488
+ # Determines the location of the y axis. Valid locations are given as the
489
+ # following predefined constants: +LEFT+, +RIGHT+, and +AT_X_ORIGIN+.
490
+ def yaxis_loc
491
+ end
492
+
493
+ # :call-seq:
494
+ # yaxis_type
495
+ # yaxis_type = an_axis_type_value
496
+ #
497
+ # Determines the axis type to use when showing the y axis of a plot. Valid
498
+ # types are the following predefined constants: +AXIS_HIDDEN+, +AXIS_LINE_ONLY+,
499
+ # +AXIS_WITH_MAJOR_TICKS_ONLY+, +AXIS_WITH_TICKS_ONLY+, +AXIS_WITH_MAJOR_TICKS_AND_NUMERIC_LABELS+,
500
+ # and +AXIS_WITH_TICKS_AND_NUMERIC_LABELS+.
501
+ def yaxis_type
502
+ end
503
+
504
+ # :call-seq:
505
+ # yaxis_numeric_label_decimal_digits
506
+ # yaxis_numeric_label_decimal_digits = an_integer_value
507
+ #
508
+ # If non-negative, then use this number of digits after the decimal when creating numeric
509
+ # labels for the y axis.
510
+ # See also tex_yaxis_numeric_label.
511
+ def yaxis_numeric_label_decimal_digits
512
+ end
513
+
514
+ # :call-seq:
515
+ # yaxis_digits_max
516
+ # yaxis_digits_max = an_integer_value
517
+ #
518
+ # If non-zero and tioga is creating numeric labels for the y axis, then numeric label
519
+ # will be switched to exponential format if it requires more than this number of digits.
520
+ def yaxis_digits_max
521
+ end
522
+
523
+ # :call-seq:
524
+ # yaxis_use_fixed_pt
525
+ # yaxis_use_fixed_pt = true_or_false
526
+ #
527
+ # If this flag is +true+, and tioga is creating numeric labels for the y axis,
528
+ # and the yaxis_log_values flag is also +true+,
529
+ # then the labels will be shown using fixed point notation rather than exponential.
530
+ # For example, a label at y location 3.0 will display as "1000" rather than as "10^3",
531
+ # and a label at y == -2.0 will display as "0.01" rather than as "10^-2".
532
+ def yaxis_use_fixed_pt
533
+ end
534
+
535
+ # :call-seq:
536
+ # yaxis_number_of_minor_intervals
537
+ # yaxis_number_of_minor_intervals = an_integer_value
538
+ #
539
+ # Determines the number of minor intervals making up the distance between major ticks marks
540
+ # on the y axis. If this is set to 0, then tioga will pick the number.
541
+ def yaxis_number_of_minor_intervals
542
+ end
543
+ # :call-seq:
544
+ # yaxis_min_between_major_ticks
545
+ # yaxis_min_between_major_ticks = a_float
546
+ #
547
+ # When tioga picks the interval between major tick marks on the y axis, it will ensure that
548
+ # the interval is at least this large. Note that this distance is given in units of the
549
+ # default text height rather than in y coordinates.
550
+ def yaxis_min_between_major_ticks
551
+ end
552
+
553
+ =begin rdoc
554
+ :call-seq:
555
+ yaxis_tick_labels
556
+ yaxis_tick_labels = array_or_nil
557
+
558
+ If +nil+, then tioga will create numeric labels for the major ticks on the y axis.
559
+ Otherwise, you must also specify yaxis_locations_for_major_ticks, and yaxis_tick_labels
560
+ must be an equal length array of strings giving the corresponding labels.
561
+
562
+ See also xaxis_tick_labels.
563
+
564
+ Examples
565
+
566
+ def special_y
567
+ t.ylabel_shift += 2
568
+ t.do_box_labels('Special Y Axis', 'Position', 'Y Values')
569
+ t.yaxis_numeric_label_angle = -90
570
+ t.yaxis_locations_for_major_ticks = [
571
+ -10.0, -6.0, -PI, 0.0, PI, 6.0, 10.0 ]
572
+ t.yaxis_tick_labels = [
573
+ "-IX", "-VI", "$-\\pi$", "$\\mathcal{ZERO}$", "$\\pi$", "VI", "IX" ]
574
+ t.yaxis_type = AXIS_WITH_MAJOR_TICKS_AND_NUMERIC_LABELS
575
+ t.stroke_color = Blue
576
+ t.yaxis_numeric_label_justification = RIGHT_JUSTIFIED
577
+ t.right_edge_type = AXIS_WITH_MAJOR_TICKS_ONLY
578
+ t.yaxis_numeric_label_shift = 0
579
+ xs = @positions; ys = @big_blues
580
+ t.show_plot('boundaries' => plot_boundaries(xs,ys,@margin,-11, 11)) do
581
+ t.append_points_to_path(xs,ys)
582
+ t.stroke
583
+ end
584
+ end
585
+
586
+ http://theory.kitp.ucsb.edu/~paxton/tioga_jpegs/Special_Y.jpg
587
+
588
+ =end
589
+ def yaxis_tick_labels
590
+ end
591
+
592
+ # :call-seq:
593
+ # yaxis_locations_for_major_ticks
594
+ # yaxis_locations_for_major_ticks = a_dvector_or_nil
595
+ #
596
+ # If +nil+, then tioga will pick locations for major ticks on the y axis. Otherwise, this should be
597
+ # Dvector of locations in y figure coordinates in strictly increasing order.
598
+ #
599
+ # See also yaxis_tick_labels.
600
+ #
601
+ def yaxis_locations_for_major_ticks
602
+ end
603
+
604
+ # :call-seq:
605
+ # yaxis_locations_for_minor_ticks
606
+ # yaxis_locations_for_minor_ticks = a_dvector_or_nil
607
+ #
608
+ # If +nil+, then tioga will pick locations for minor ticks on the y axis. Otherwise, this should be
609
+ # Dvector of locations in x figure coordinates in strictly increasing order.
610
+ def yaxis_locations_for_minor_ticks
611
+ end
612
+
613
+ # :call-seq:
614
+ # yaxis_log_values
615
+ # yaxis_log_values = true_or_false
616
+ #
617
+ # If +true+, then locations along the y axis are to be treated as log values (base 10).
618
+ # This changes both the default placing of tick marks and the appearance of numeric labels.
619
+ def yaxis_log_values
620
+ end
621
+
622
+ # :call-seq:
623
+ # yaxis_ticks_inside
624
+ # yaxis_ticks_inside = true_or_false
625
+ #
626
+ # If +true+, then ticks will be added along the y axis inside the plot frame.
627
+ # If +false+, then no ticks will appear inside the frame along the y axis.
628
+ def yaxis_ticks_inside
629
+ end
630
+
631
+ # :call-seq:
632
+ # yaxis_ticks_outside
633
+ # yaxis_ticks_outside = true_or_false
634
+ #
635
+ # If +true+, then ticks will be added along the y axis outside the plot frame.
636
+ # If +false+, then no ticks will appear outside the frame along the y axis.
637
+ def yaxis_ticks_outside
638
+ end
639
+
640
+ # :call-seq:
641
+ # yaxis_major_tick_length
642
+ # yaxis_major_tick_length = a_float
643
+ #
644
+ # Length of major ticks on the y axis measured in units of the default text height.
645
+ def yaxis_major_tick_length
646
+ end
647
+
648
+ # :call-seq:
649
+ # yaxis_minor_tick_length
650
+ # yaxis_minor_tick_length = a_float
651
+ #
652
+ # Length of minor ticks on the y axis measured in units of the default text height.
653
+ def yaxis_minor_tick_length
654
+ end
655
+
656
+ # :call-seq:
657
+ # yaxis_line_width
658
+ # yaxis_line_width = a_float
659
+ #
660
+ # Value for the line_width attribute when painting the y axis line.
661
+ def yaxis_line_width
662
+ end
663
+
664
+ # :call-seq:
665
+ # yaxis_major_tick_width
666
+ # yaxis_major_tick_width = a_float
667
+ #
668
+ # Value for the line_width attribute when painting the y axis major tick marks.
669
+ def yaxis_major_tick_width
670
+ end
671
+
672
+ # :call-seq:
673
+ # yaxis_minor_tick_width
674
+ # yaxis_minor_tick_width = a_float
675
+ #
676
+ # Value for the line_width attribute when painting the y axis minor tick marks.
677
+ def yaxis_minor_tick_width
678
+ end
679
+
680
+ # :call-seq:
681
+ # yaxis_stroke_color
682
+ # yaxis_stroke_color = color_value
683
+ #
684
+ # Value for the stroke_color attribute when painting the y axis.
685
+ def yaxis_stroke_color
686
+ end
687
+
688
+ # :call-seq:
689
+ # yaxis_numeric_label_scale
690
+ # yaxis_numeric_label_scale = a_float
691
+ #
692
+ # Scaling factor relative to default_text_scale for the numeric labels on the y axis in plots.
693
+ # See also tex_yaxis_numeric_label.
694
+ def yaxis_numeric_label_scale
695
+ end
696
+
697
+ # :call-seq:
698
+ # yaxis_numeric_label_shift
699
+ # yaxis_numeric_label_shift = a_float
700
+ #
701
+ # Distance to shift the reference point for showing numeric labels on the y axis
702
+ # measured in character heights with positive directed out away from the plot for
703
+ # y axis on left or right, or toward positive x values for y axis at x origin.
704
+ # See also tex_yaxis_numeric_label.
705
+ def yaxis_numeric_label_shift
706
+ end
707
+
708
+ # :call-seq:
709
+ # yaxis_numeric_label_angle
710
+ # yaxis_numeric_label_angle = a_float_in_degrees
711
+ #
712
+ # Numeric labels on the y axis are rotated by this angle from horizontal.
713
+ # See also tex_yaxis_numeric_label.
714
+ def yaxis_numeric_label_angle
715
+ end
716
+
717
+ # :call-seq:
718
+ # yaxis_numeric_label_alignment
719
+ # yaxis_numeric_label_alignment = an_alignment
720
+ #
721
+ # The #alignment setting for numeric labels on the y axis.
722
+ # See also tex_yaxis_numeric_label.
723
+ def yaxis_numeric_label_alignment
724
+ end
725
+
726
+
727
+ # :call-seq:
728
+ # yaxis_numeric_label_justification
729
+ # yaxis_numeric_label_justification = a_justification
730
+ #
731
+ # The #justification setting for numeric labels on the y axis.
732
+ def yaxis_numeric_label_justification
733
+ end
734
+
735
+ # :call-seq:
736
+ # yaxis_tick_interval
737
+ # yaxis_tick_interval = a_float
738
+ #
739
+ # If 0, then tioga will pick the interval between major tick marks on the x axis.
740
+ # Otherwise, this will be used as the interval in x coordinates for the spacing between major ticks.
741
+ def xaxis_tick_interval
742
+ end
743
+
744
+
745
+
746
+
747
+
748
+ end # class
749
+ end # module Tioga