ctioga2 0.10.1 → 0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Changelog +18 -0
- data/bin/ctioga2 +28 -0
- data/lib/ctioga2/commands/commands.rb +1 -0
- data/lib/ctioga2/commands/doc/documentation-commands.rb +13 -0
- data/lib/ctioga2/commands/doc/help.rb +3 -2
- data/lib/ctioga2/commands/doc/html.rb +48 -0
- data/lib/ctioga2/commands/doc/introspection.rb +2 -2
- data/lib/ctioga2/commands/general-types.rb +10 -0
- data/lib/ctioga2/commands/parsers/file.rb +23 -2
- data/lib/ctioga2/data/backends/backends.rb +1 -2
- data/lib/ctioga2/data/backends/backends/smath.rb +129 -0
- data/lib/ctioga2/data/backends/backends/text.rb +1 -0
- data/lib/ctioga2/data/dataset.rb +1 -1
- data/lib/ctioga2/data/stack.rb +13 -3
- data/lib/ctioga2/graphics/elements.rb +2 -0
- data/lib/ctioga2/graphics/elements/containers.rb +3 -1
- data/lib/ctioga2/graphics/elements/element.rb +194 -5
- data/lib/ctioga2/graphics/elements/gradient-region.rb +5 -2
- data/lib/ctioga2/graphics/elements/histogram.rb +7 -2
- data/lib/ctioga2/graphics/elements/plot-elements.rb +88 -0
- data/lib/ctioga2/graphics/elements/primitive.rb +28 -12
- data/lib/ctioga2/graphics/elements/region.rb +6 -1
- data/lib/ctioga2/graphics/elements/style-lists.rb +2 -2
- data/lib/ctioga2/graphics/elements/subplot.rb +3 -3
- data/lib/ctioga2/graphics/elements/tangent.rb +5 -8
- data/lib/ctioga2/graphics/generator.rb +10 -0
- data/lib/ctioga2/graphics/geometry.rb +96 -0
- data/lib/ctioga2/graphics/legends.rb +4 -2
- data/lib/ctioga2/graphics/legends/area.rb +12 -4
- data/lib/ctioga2/graphics/root.rb +16 -14
- data/lib/ctioga2/graphics/styles.rb +5 -2
- data/lib/ctioga2/graphics/styles/arrows.rb +5 -0
- data/lib/ctioga2/graphics/styles/axes.rb +1 -1
- data/lib/ctioga2/graphics/styles/base.rb +95 -14
- data/lib/ctioga2/graphics/styles/curve.rb +8 -0
- data/lib/ctioga2/graphics/styles/drawable.rb +35 -48
- data/lib/ctioga2/graphics/styles/factory.rb +23 -23
- data/lib/ctioga2/graphics/styles/fill.rb +268 -0
- data/lib/ctioga2/graphics/styles/plot.rb +90 -46
- data/lib/ctioga2/graphics/styles/sets.rb +3 -0
- data/lib/ctioga2/graphics/styles/{sheet.rb → styles.rb} +70 -160
- data/lib/ctioga2/graphics/styles/stylesheet.rb +355 -0
- data/lib/ctioga2/graphics/styles/texts.rb +4 -2
- data/lib/ctioga2/graphics/styles/ticks.rb +44 -4
- data/lib/ctioga2/graphics/subplot-commands.rb +84 -9
- data/lib/ctioga2/graphics/types.rb +1 -1
- data/lib/ctioga2/graphics/types/dimensions.rb +40 -0
- data/lib/ctioga2/graphics/types/grid.rb +21 -5
- data/lib/ctioga2/graphics/types/point.rb +2 -1
- data/lib/ctioga2/log.rb +5 -1
- data/lib/ctioga2/metabuilder/types/styles.rb +11 -7
- data/lib/ctioga2/plotmaker.rb +2 -0
- data/lib/ctioga2/utils.rb +21 -6
- data/lib/ctioga2/version.rb +2 -2
- metadata +105 -108
@@ -24,13 +24,25 @@ module CTioga2
|
|
24
24
|
CmdGroup.new('subplots',
|
25
25
|
"Subplots and assimilated",
|
26
26
|
"Subplots and assimilated", 31)
|
27
|
+
|
28
|
+
SFMOpts = {}
|
29
|
+
for w in %w(left right top bottom)
|
30
|
+
SFMOpts[w] = CmdArg.new("dimension")
|
31
|
+
end
|
27
32
|
|
28
33
|
SetFrameMarginsCommand =
|
29
34
|
Cmd.new("frame-margins",nil,"--frame-margins",
|
30
35
|
[
|
31
36
|
CmdArg.new('frame-margins'),
|
32
|
-
]) do |plotmaker, margins|
|
33
|
-
|
37
|
+
], SFMOpts) do |plotmaker, margins, opts|
|
38
|
+
if margins
|
39
|
+
for w in SFMOpts.keys
|
40
|
+
if opts.key? w
|
41
|
+
dim = margins.send(w)
|
42
|
+
dim.copy_from(opts[w])
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
34
46
|
plotmaker.root_object.current_plot.subframe = margins
|
35
47
|
end
|
36
48
|
|
@@ -40,6 +52,15 @@ Sets the margins for the current plot. Margins are the same things as the
|
|
40
52
|
position (such as specified for and inset). Using this within an inset or
|
41
53
|
more complex plots might produce unexpected results. The main use of this
|
42
54
|
function is to control the padding around simple plots.
|
55
|
+
|
56
|
+
The options override the contents of the margin, which makes it easy
|
57
|
+
to set all the dimensions to a given value and just override the ones
|
58
|
+
you need to:
|
59
|
+
|
60
|
+
# frame-margins 2mm /left=1cm
|
61
|
+
|
62
|
+
This sets all the margins around the side to 2mm excepted the left
|
63
|
+
one, which means in particular the bottom axis tick labels will be cut.
|
43
64
|
EOH
|
44
65
|
|
45
66
|
PaddingCommand =
|
@@ -92,14 +113,29 @@ size of the text bits around the plot. However, this can be bothersome
|
|
92
113
|
at times, so you can disable that with this command.
|
93
114
|
EOH
|
94
115
|
|
116
|
+
RootPlotCommand =
|
117
|
+
Cmd.new("root-plot",nil,"--root-plot",
|
118
|
+
[
|
119
|
+
], Elements::TiogaElement::StyleBaseOptions) do |plotmaker, opts|
|
120
|
+
Log::debug { "Starting a subplot with specs #{box.inspect}" }
|
121
|
+
opts['id'] ||= 'root'
|
122
|
+
plotmaker.root_object.
|
123
|
+
enter_subobject(Elements::Subplot.new(nil,plotmaker.root_object, opts))
|
124
|
+
end
|
125
|
+
|
126
|
+
RootPlotCommand.describe('Begin root plot',
|
127
|
+
<<EOD, SubplotsGroup)
|
128
|
+
Begins the root plot. This command is only necessary if you want to
|
129
|
+
give styling information to the root plot.
|
130
|
+
EOD
|
95
131
|
|
96
132
|
InsetCommand =
|
97
133
|
Cmd.new("inset",nil,"--inset",
|
98
134
|
[
|
99
135
|
CmdArg.new('box'),
|
100
|
-
]) do |plotmaker, box|
|
136
|
+
], Elements::TiogaElement::StyleBaseOptions) do |plotmaker, box, opts|
|
101
137
|
Log::debug { "Starting a subplot with specs #{box.inspect}" }
|
102
|
-
subplot = plotmaker.root_object.subplot
|
138
|
+
subplot = plotmaker.root_object.subplot(opts)
|
103
139
|
subplot.subframe = box
|
104
140
|
end
|
105
141
|
|
@@ -115,9 +151,9 @@ EOD
|
|
115
151
|
Cmd.new("next-inset",nil,"--next-inset",
|
116
152
|
[
|
117
153
|
CmdArg.new('box'),
|
118
|
-
]) do |plotmaker, box|
|
154
|
+
], Elements::TiogaElement::StyleBaseOptions) do |plotmaker, box,opts|
|
119
155
|
plotmaker.root_object.leave_subobject
|
120
|
-
subplot = plotmaker.root_object.subplot
|
156
|
+
subplot = plotmaker.root_object.subplot(opts)
|
121
157
|
subplot.subframe = box
|
122
158
|
end
|
123
159
|
|
@@ -141,15 +177,18 @@ Leaves the current subobject.
|
|
141
177
|
EOD
|
142
178
|
RegionOptions = {
|
143
179
|
'color' => CmdArg.new('color'),
|
180
|
+
'pattern' => CmdArg.new('fill-pattern'),
|
181
|
+
'reversed_pattern' => CmdArg.new('fill-pattern'),
|
144
182
|
'transparency' => CmdArg.new('float'),
|
145
183
|
'reversed_color' => CmdArg.new('color'),
|
146
184
|
'reversed_transparency' => CmdArg.new('float'),
|
147
185
|
}
|
186
|
+
RegionOptions.merge!(Elements::TiogaElement::StyleBaseOptions)
|
148
187
|
|
149
188
|
RegionCommand =
|
150
189
|
Cmd.new("region",nil,"--region",
|
151
190
|
[ ], RegionOptions) do |plotmaker, options|
|
152
|
-
r = plotmaker.root_object.enter_region
|
191
|
+
r = plotmaker.root_object.enter_region(options)
|
153
192
|
r.set_from_hash(options)
|
154
193
|
end
|
155
194
|
|
@@ -163,8 +202,9 @@ EOD
|
|
163
202
|
|
164
203
|
GradientCommand =
|
165
204
|
Cmd.new("gradient",nil,"--gradient",
|
166
|
-
[CmdArg.new('color'), CmdArg.new('color') ],
|
167
|
-
|
205
|
+
[CmdArg.new('color'), CmdArg.new('color') ],
|
206
|
+
Elements::TiogaElement::StyleBaseOptions) do |plotmaker, s, e, options|
|
207
|
+
r = plotmaker.root_object.enter_gradient(options)
|
168
208
|
r.start_color = s
|
169
209
|
r.end_color = e
|
170
210
|
r.set_from_hash(options)
|
@@ -240,6 +280,41 @@ larger than the other ones, while the second row is four times larger
|
|
240
280
|
than the first.
|
241
281
|
EOH
|
242
282
|
|
283
|
+
|
284
|
+
ReopenCommand =
|
285
|
+
Cmd.new("reopen",nil,"--reopen",
|
286
|
+
[CmdArg.new('object')], {}) do |plotmaker, obj, options|
|
287
|
+
plotmaker.root_object.enter_subobject(obj, false)
|
288
|
+
end
|
289
|
+
|
290
|
+
ReopenCommand.describe('Reopens a previously finished object',
|
291
|
+
<<EOD, SubplotsGroup)
|
292
|
+
Reopens a previously finished container, such as a subplot, a region
|
293
|
+
or a gradient. Provide the unique name you gave as the @/id=@ option
|
294
|
+
to the first command
|
295
|
+
EOD
|
296
|
+
|
297
|
+
HideCommand =
|
298
|
+
Cmd.new("hide",nil,"--hide",
|
299
|
+
[CmdArg.new('objects')], {
|
300
|
+
'show' => CmdArg.new('boolean')
|
301
|
+
}) do |plotmaker, objs, opts|
|
302
|
+
hidden = if opts.key? 'show'
|
303
|
+
! opts['show']
|
304
|
+
else
|
305
|
+
true
|
306
|
+
end
|
307
|
+
for o in objs
|
308
|
+
o.hidden = hidden
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
|
313
|
+
HideCommand.describe('Hides named objects',
|
314
|
+
<<EOD, SubplotsGroup)
|
315
|
+
Hides all the named objects in the list. Useful for creating animations.
|
316
|
+
EOD
|
317
|
+
|
243
318
|
# ZoomCommand =
|
244
319
|
# Cmd.new("zoom-inset",nil,"--zoom-inset",
|
245
320
|
# [
|
@@ -57,8 +57,33 @@ module CTioga2
|
|
57
57
|
|
58
58
|
# Converts the Dimension to the *figure* coordinates of the
|
59
59
|
# *current* figure in _t_.
|
60
|
+
#
|
61
|
+
# An extension of this function allows one to provide an ANGLE
|
62
|
+
# instead of :x or :y for the orientation, in which case the
|
63
|
+
# return value is a [dx, dy] array. In that case, the
|
64
|
+
# dimension is first converted into a physical dimension in
|
65
|
+
# the axis closest to the orientation and then one proceeds.
|
60
66
|
def to_figure(t, orientation = nil)
|
61
67
|
orientation ||= @orientation
|
68
|
+
|
69
|
+
if ! orientation.is_a? Symbol
|
70
|
+
angle = orientation.to_f * Math::PI/180.0
|
71
|
+
dim = self
|
72
|
+
if @type != :bp
|
73
|
+
# Must first convert to physical dimension
|
74
|
+
closest_orient = if Math::sin(angle)**2 > 0.5
|
75
|
+
:y
|
76
|
+
else
|
77
|
+
:x
|
78
|
+
end
|
79
|
+
vl = dim.to_bp(t, closest_orient)
|
80
|
+
dim = Dimension.new(:bp, vl)
|
81
|
+
end
|
82
|
+
dx = dim.to_figure(t, :x) * Math::cos(angle)
|
83
|
+
dy = dim.to_figure(t, :y) * Math::sin(angle)
|
84
|
+
return [dx, dy]
|
85
|
+
end
|
86
|
+
|
62
87
|
case @type
|
63
88
|
when :bp
|
64
89
|
return t.send("convert_output_to_figure_d#{orientation}", @value) * 10
|
@@ -167,6 +192,21 @@ module CTioga2
|
|
167
192
|
raise "Unknown Dimension specification: '#{text}'"
|
168
193
|
end
|
169
194
|
end
|
195
|
+
|
196
|
+
def set_from_text(str, default = :figure)
|
197
|
+
dm = Dimension.from_text(str, self.orientation, default)
|
198
|
+
copy_from(dm)
|
199
|
+
end
|
200
|
+
|
201
|
+
# Copy from another dimension, omitting the orientation
|
202
|
+
def copy_from(dm, orient = false)
|
203
|
+
@type = dm.type
|
204
|
+
@value = dm.value
|
205
|
+
if orient
|
206
|
+
@orientation = dm.orientation
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
170
210
|
|
171
211
|
end
|
172
212
|
|
@@ -31,7 +31,7 @@ module CTioga2
|
|
31
31
|
|
32
32
|
OptionHashRE = /([\w-]+)\s*=\s*([^,]+),?\s*/
|
33
33
|
|
34
|
-
GridBoxRE = /^\s*grid:(\d+)\s*,\s*(\d+)(?:,(#{OptionHashRE}+))?\s*$/
|
34
|
+
GridBoxRE = /^\s*grid:(\d+(?:-\d+)?)\s*,\s*(\d+(?:-\d+)?)(?:,(#{OptionHashRE}+))?\s*$/
|
35
35
|
|
36
36
|
# This hash helps to convert from a hash-based representation
|
37
37
|
# of frame coordinates to the array-based one.
|
@@ -46,13 +46,23 @@ module CTioga2
|
|
46
46
|
|
47
47
|
def self.from_text(txt)
|
48
48
|
if txt =~ GridBoxRE
|
49
|
-
return GridBox.new(GridLayout.current_grid, $1
|
49
|
+
return GridBox.new(GridLayout.current_grid, $1, $2,
|
50
50
|
$3) # The latter being to remove
|
51
51
|
# the initial comma
|
52
52
|
else
|
53
53
|
raise "#{txt} is not a grid box."
|
54
54
|
end
|
55
55
|
end
|
56
|
+
|
57
|
+
def parse_range(str)
|
58
|
+
if str.is_a? Array
|
59
|
+
return str
|
60
|
+
elsif str =~ /(\d+)\s*-\s*(\d+)/
|
61
|
+
return [$1.to_i, $2.to_i]
|
62
|
+
else
|
63
|
+
return [str.to_i, str.to_i]
|
64
|
+
end
|
65
|
+
end
|
56
66
|
|
57
67
|
def initialize(grid, x, y, options = {})
|
58
68
|
if options.is_a? String
|
@@ -68,14 +78,20 @@ module CTioga2
|
|
68
78
|
end, :frame)
|
69
79
|
}
|
70
80
|
end
|
71
|
-
|
81
|
+
|
72
82
|
@grid = grid
|
73
|
-
@
|
83
|
+
@x = parse_range(x).sort
|
84
|
+
@y = parse_range(y).sort
|
74
85
|
@overrides = options || {}
|
75
86
|
end
|
76
87
|
|
77
88
|
def to_frame_coordinates(t)
|
78
|
-
a = @grid.frame_coordinates(t, @x, @y)
|
89
|
+
a = @grid.frame_coordinates(t, @x[0], @y[0])
|
90
|
+
ov = @grid.frame_coordinates(t, @x[1], @y[1])
|
91
|
+
# Override with the right-bottom element.
|
92
|
+
a[2] = ov[2]
|
93
|
+
a[3] = ov[3]
|
94
|
+
|
79
95
|
## \todo write a framework for manipulating this !
|
80
96
|
for k,v in @overrides
|
81
97
|
next unless FrameCoordsOverride.key?(k)
|
@@ -39,7 +39,8 @@ module CTioga2
|
|
39
39
|
when :frame
|
40
40
|
return t.send("convert_frame_to_figure_#{orientation}", @value)
|
41
41
|
when :page
|
42
|
-
|
42
|
+
int = t.send("convert_page_to_frame_#{orientation}", @value)
|
43
|
+
return t.send("convert_frame_to_figure_#{orientation}", int)
|
43
44
|
when :figure
|
44
45
|
return @value
|
45
46
|
else
|
data/lib/ctioga2/log.rb
CHANGED
@@ -24,7 +24,11 @@ module CTioga2
|
|
24
24
|
module Log
|
25
25
|
|
26
26
|
def self.context
|
27
|
-
|
27
|
+
if defined? PlotMaker
|
28
|
+
return " while processing #{PlotMaker.plotmaker.interpreter.context.to_s}"
|
29
|
+
else
|
30
|
+
return " in the early loading stages"
|
31
|
+
end
|
28
32
|
end
|
29
33
|
|
30
34
|
# Prints a debug message, on channel _channel_. Channel handling
|
@@ -111,7 +111,11 @@ module CTioga2
|
|
111
111
|
else
|
112
112
|
phase = 0
|
113
113
|
end
|
114
|
-
return [ specs.map { |s|
|
114
|
+
return [ specs.map { |s|
|
115
|
+
s = s.gsub(/\.\s*$/, '.0')
|
116
|
+
s = s.gsub(/^\s*\./, '0.')
|
117
|
+
Float(s)
|
118
|
+
}, phase]
|
115
119
|
end
|
116
120
|
end
|
117
121
|
|
@@ -141,12 +145,12 @@ module CTioga2
|
|
141
145
|
include Tioga::FigureConstants
|
142
146
|
|
143
147
|
ValidTypes = {
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
148
|
+
/^\s*hidden|off|no|none\s*$/i => AXIS_HIDDEN,
|
149
|
+
/^\s*line\s*$/i => AXIS_LINE_ONLY,
|
150
|
+
/^\s*ticks\s*$/i => AXIS_WITH_TICKS_ONLY,
|
151
|
+
/^\s*major\s*$/i => AXIS_WITH_MAJOR_TICKS_ONLY,
|
152
|
+
/^\s*major-num\s*$/i => AXIS_WITH_MAJOR_TICKS_AND_NUMERIC_LABELS,
|
153
|
+
/^\s*full\s*$/i => AXIS_WITH_TICKS_AND_NUMERIC_LABELS
|
150
154
|
}
|
151
155
|
|
152
156
|
type_name :tioga_axis_type, 'axis_type'
|
data/lib/ctioga2/plotmaker.rb
CHANGED
@@ -482,6 +482,8 @@ module CTioga2
|
|
482
482
|
raise "Duplicated option between PlotCommandOptions and LoadDatasetOptions"
|
483
483
|
end
|
484
484
|
|
485
|
+
PlotOptions.merge!(Graphics::Elements::TiogaElement::StyleBaseOptions)
|
486
|
+
|
485
487
|
PlotCommand =
|
486
488
|
Cmd.new("plot",nil,"--plot",
|
487
489
|
[ CmdArg.new('dataset') ],
|
data/lib/ctioga2/utils.rb
CHANGED
@@ -138,6 +138,9 @@ module CTioga2
|
|
138
138
|
formula.gsub!("$#{k}$", "column[#{v}]")
|
139
139
|
end
|
140
140
|
end
|
141
|
+
if formula =~ /(\$[^$]+\$)/
|
142
|
+
raise "'#{$1}' looks like a column name, but there is no corresponding column of that name"
|
143
|
+
end
|
141
144
|
return formula
|
142
145
|
end
|
143
146
|
|
@@ -178,8 +181,12 @@ module CTioga2
|
|
178
181
|
NaturalSubdivisions = [1.0, 2.0, 5.0, 10.0]
|
179
182
|
|
180
183
|
# Returns the closest element of the correct power of ten of
|
181
|
-
# NaturalSubdivisions above or below the given number
|
182
|
-
|
184
|
+
# NaturalSubdivisions above or below the given number.
|
185
|
+
#
|
186
|
+
# If what is :below, returns the closest below. If what is :above,
|
187
|
+
# returns the closest above. Else, returns the one the closest
|
188
|
+
# between the two values.
|
189
|
+
def self.closest_subdivision(x, what = :closest)
|
183
190
|
fact = 10**(Math.log10(x).floor)
|
184
191
|
|
185
192
|
normed_x = x/fact
|
@@ -188,11 +195,19 @@ module CTioga2
|
|
188
195
|
return x
|
189
196
|
end
|
190
197
|
if (normed_x > NaturalSubdivisions[i]) &&
|
191
|
-
|
192
|
-
|
193
|
-
|
198
|
+
(normed_x < NaturalSubdivisions[i+1])
|
199
|
+
below = NaturalSubdivisions[i]*fact
|
200
|
+
above = NaturalSubdivisions[i+1]*fact
|
201
|
+
if what == :below
|
202
|
+
return below
|
203
|
+
elsif what == :above
|
204
|
+
return above
|
194
205
|
else
|
195
|
-
|
206
|
+
if x*x/(below * above) > 1
|
207
|
+
return above
|
208
|
+
else
|
209
|
+
return below
|
210
|
+
end
|
196
211
|
end
|
197
212
|
end
|
198
213
|
end
|
data/lib/ctioga2/version.rb
CHANGED
metadata
CHANGED
@@ -1,189 +1,186 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ctioga2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: '0.11'
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Vincent Fourmond <vincent.fourmond@9online.fr>
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-01-01 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: tioga
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '1.18'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '1.18'
|
30
|
-
description:
|
31
|
-
|
27
|
+
description: |
|
28
|
+
ctioga2 is a command-driven plotting program that produces
|
32
29
|
high quality PDF files. It can be used both from the command-line
|
33
|
-
|
34
30
|
and using command files (at the same time).
|
35
31
|
|
36
|
-
|
37
32
|
It is based on Tioga (http://tioga.rubyforge.org).
|
38
|
-
|
39
|
-
'
|
40
33
|
email: vincent.fourmond@9online.fr
|
41
34
|
executables:
|
42
35
|
- ctioga2
|
43
36
|
extensions: []
|
44
37
|
extra_rdoc_files: []
|
45
38
|
files:
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
- lib/ctioga2/commands/
|
51
|
-
- lib/ctioga2/commands/
|
52
|
-
- lib/ctioga2/commands/
|
53
|
-
- lib/ctioga2/commands/parsers/command-line.rb
|
54
|
-
- lib/ctioga2/commands/doc/wordwrap.rb
|
55
|
-
- lib/ctioga2/commands/doc/introspection.rb
|
56
|
-
- lib/ctioga2/commands/doc/documentation-commands.rb
|
57
|
-
- lib/ctioga2/commands/doc/man.rb
|
58
|
-
- lib/ctioga2/commands/doc/markup.rb
|
39
|
+
- COPYING
|
40
|
+
- Changelog
|
41
|
+
- bin/ct2-make-movie
|
42
|
+
- bin/ctioga2
|
43
|
+
- lib/ctioga2/commands/arguments.rb
|
44
|
+
- lib/ctioga2/commands/commands.rb
|
45
|
+
- lib/ctioga2/commands/context.rb
|
59
46
|
- lib/ctioga2/commands/doc/doc.rb
|
47
|
+
- lib/ctioga2/commands/doc/documentation-commands.rb
|
60
48
|
- lib/ctioga2/commands/doc/help.rb
|
61
49
|
- lib/ctioga2/commands/doc/html.rb
|
62
|
-
- lib/ctioga2/commands/
|
63
|
-
- lib/ctioga2/commands/
|
50
|
+
- lib/ctioga2/commands/doc/introspection.rb
|
51
|
+
- lib/ctioga2/commands/doc/man.rb
|
52
|
+
- lib/ctioga2/commands/doc/markup.rb
|
53
|
+
- lib/ctioga2/commands/doc/wordwrap.rb
|
54
|
+
- lib/ctioga2/commands/function.rb
|
55
|
+
- lib/ctioga2/commands/general-commands.rb
|
64
56
|
- lib/ctioga2/commands/general-functions.rb
|
65
57
|
- lib/ctioga2/commands/general-types.rb
|
66
|
-
- lib/ctioga2/commands/
|
67
|
-
- lib/ctioga2/commands/
|
68
|
-
- lib/ctioga2/commands/
|
69
|
-
- lib/ctioga2/
|
70
|
-
- lib/ctioga2/
|
71
|
-
- lib/ctioga2/
|
72
|
-
- lib/ctioga2/
|
73
|
-
- lib/ctioga2/
|
74
|
-
- lib/ctioga2/
|
75
|
-
- lib/ctioga2/
|
76
|
-
- lib/ctioga2/
|
77
|
-
- lib/ctioga2/
|
78
|
-
- lib/ctioga2/
|
79
|
-
- lib/ctioga2/
|
58
|
+
- lib/ctioga2/commands/groups.rb
|
59
|
+
- lib/ctioga2/commands/interpreter.rb
|
60
|
+
- lib/ctioga2/commands/parsers/command-line.rb
|
61
|
+
- lib/ctioga2/commands/parsers/file.rb
|
62
|
+
- lib/ctioga2/commands/parsers/old-file.rb
|
63
|
+
- lib/ctioga2/commands/strings.rb
|
64
|
+
- lib/ctioga2/commands/type.rb
|
65
|
+
- lib/ctioga2/commands/variables.rb
|
66
|
+
- lib/ctioga2/data/backends/backend.rb
|
67
|
+
- lib/ctioga2/data/backends/backends.rb
|
68
|
+
- lib/ctioga2/data/backends/backends/direct.rb
|
69
|
+
- lib/ctioga2/data/backends/backends/gnuplot.rb
|
70
|
+
- lib/ctioga2/data/backends/backends/math.rb
|
71
|
+
- lib/ctioga2/data/backends/backends/smath.rb
|
72
|
+
- lib/ctioga2/data/backends/backends/text.rb
|
73
|
+
- lib/ctioga2/data/backends/description.rb
|
74
|
+
- lib/ctioga2/data/backends/factory.rb
|
75
|
+
- lib/ctioga2/data/backends/parameter.rb
|
76
|
+
- lib/ctioga2/data/datacolumn.rb
|
77
|
+
- lib/ctioga2/data/dataset.rb
|
78
|
+
- lib/ctioga2/data/filters.rb
|
79
|
+
- lib/ctioga2/data/indexed-dtable.rb
|
80
|
+
- lib/ctioga2/data/point.rb
|
81
|
+
- lib/ctioga2/data/stack.rb
|
80
82
|
- lib/ctioga2/graphics/coordinates.rb
|
81
|
-
- lib/ctioga2/graphics/elements
|
83
|
+
- lib/ctioga2/graphics/elements.rb
|
84
|
+
- lib/ctioga2/graphics/elements/containers.rb
|
85
|
+
- lib/ctioga2/graphics/elements/contour.rb
|
86
|
+
- lib/ctioga2/graphics/elements/curve2d.rb
|
87
|
+
- lib/ctioga2/graphics/elements/element.rb
|
88
|
+
- lib/ctioga2/graphics/elements/gradient-region.rb
|
82
89
|
- lib/ctioga2/graphics/elements/histogram.rb
|
83
90
|
- lib/ctioga2/graphics/elements/parametric2d.rb
|
84
|
-
- lib/ctioga2/graphics/elements/
|
85
|
-
- lib/ctioga2/graphics/elements/region.rb
|
86
|
-
- lib/ctioga2/graphics/elements/contour.rb
|
87
|
-
- lib/ctioga2/graphics/elements/xyz-map.rb
|
88
|
-
- lib/ctioga2/graphics/elements/tangent.rb
|
91
|
+
- lib/ctioga2/graphics/elements/plot-elements.rb
|
89
92
|
- lib/ctioga2/graphics/elements/primitive.rb
|
90
|
-
- lib/ctioga2/graphics/elements/
|
91
|
-
- lib/ctioga2/graphics/elements/
|
93
|
+
- lib/ctioga2/graphics/elements/redirecting-container.rb
|
94
|
+
- lib/ctioga2/graphics/elements/region.rb
|
92
95
|
- lib/ctioga2/graphics/elements/style-lists.rb
|
93
|
-
- lib/ctioga2/graphics/elements/curve2d.rb
|
94
96
|
- lib/ctioga2/graphics/elements/subplot.rb
|
95
|
-
- lib/ctioga2/graphics/elements/
|
97
|
+
- lib/ctioga2/graphics/elements/tangent.rb
|
98
|
+
- lib/ctioga2/graphics/elements/xyz-contour.rb
|
99
|
+
- lib/ctioga2/graphics/elements/xyz-map.rb
|
100
|
+
- lib/ctioga2/graphics/generator.rb
|
101
|
+
- lib/ctioga2/graphics/geometry.rb
|
102
|
+
- lib/ctioga2/graphics/legends.rb
|
103
|
+
- lib/ctioga2/graphics/legends/area.rb
|
104
|
+
- lib/ctioga2/graphics/legends/items.rb
|
105
|
+
- lib/ctioga2/graphics/legends/multicols.rb
|
106
|
+
- lib/ctioga2/graphics/legends/provider.rb
|
107
|
+
- lib/ctioga2/graphics/legends/storage.rb
|
108
|
+
- lib/ctioga2/graphics/root.rb
|
109
|
+
- lib/ctioga2/graphics/styles.rb
|
96
110
|
- lib/ctioga2/graphics/styles/arrows.rb
|
97
|
-
- lib/ctioga2/graphics/styles/
|
111
|
+
- lib/ctioga2/graphics/styles/axes.rb
|
112
|
+
- lib/ctioga2/graphics/styles/background.rb
|
113
|
+
- lib/ctioga2/graphics/styles/base.rb
|
98
114
|
- lib/ctioga2/graphics/styles/box.rb
|
99
|
-
- lib/ctioga2/graphics/styles/image.rb
|
100
115
|
- lib/ctioga2/graphics/styles/carrays.rb
|
101
|
-
- lib/ctioga2/graphics/styles/
|
116
|
+
- lib/ctioga2/graphics/styles/colorbrewer.rb
|
117
|
+
- lib/ctioga2/graphics/styles/colormap.rb
|
102
118
|
- lib/ctioga2/graphics/styles/contour.rb
|
119
|
+
- lib/ctioga2/graphics/styles/curve.rb
|
120
|
+
- lib/ctioga2/graphics/styles/drawable.rb
|
103
121
|
- lib/ctioga2/graphics/styles/errorbar.rb
|
104
|
-
- lib/ctioga2/graphics/styles/sets.rb
|
105
|
-
- lib/ctioga2/graphics/styles/texts.rb
|
106
|
-
- lib/ctioga2/graphics/styles/plot.rb
|
107
122
|
- lib/ctioga2/graphics/styles/factory.rb
|
108
|
-
- lib/ctioga2/graphics/styles/
|
109
|
-
- lib/ctioga2/graphics/styles/axes.rb
|
110
|
-
- lib/ctioga2/graphics/styles/base.rb
|
111
|
-
- lib/ctioga2/graphics/styles/colorbrewer.rb
|
123
|
+
- lib/ctioga2/graphics/styles/fill.rb
|
112
124
|
- lib/ctioga2/graphics/styles/gradients.rb
|
113
|
-
- lib/ctioga2/graphics/styles/
|
125
|
+
- lib/ctioga2/graphics/styles/image.rb
|
114
126
|
- lib/ctioga2/graphics/styles/legend.rb
|
115
|
-
- lib/ctioga2/graphics/styles/
|
116
|
-
- lib/ctioga2/graphics/styles/background.rb
|
127
|
+
- lib/ctioga2/graphics/styles/location.rb
|
117
128
|
- lib/ctioga2/graphics/styles/map-axes.rb
|
118
129
|
- lib/ctioga2/graphics/styles/plot-types.rb
|
119
|
-
- lib/ctioga2/graphics/styles/
|
120
|
-
- lib/ctioga2/graphics/styles.rb
|
121
|
-
- lib/ctioga2/graphics/
|
122
|
-
- lib/ctioga2/graphics/
|
123
|
-
- lib/ctioga2/graphics/
|
124
|
-
- lib/ctioga2/graphics/
|
125
|
-
- lib/ctioga2/graphics/legends/area.rb
|
126
|
-
- lib/ctioga2/graphics/legends/multicols.rb
|
127
|
-
- lib/ctioga2/graphics/legends.rb
|
128
|
-
- lib/ctioga2/graphics/root.rb
|
129
|
-
- lib/ctioga2/graphics/types.rb
|
130
|
-
- lib/ctioga2/graphics/generator.rb
|
130
|
+
- lib/ctioga2/graphics/styles/plot.rb
|
131
|
+
- lib/ctioga2/graphics/styles/sets.rb
|
132
|
+
- lib/ctioga2/graphics/styles/styles.rb
|
133
|
+
- lib/ctioga2/graphics/styles/stylesheet.rb
|
134
|
+
- lib/ctioga2/graphics/styles/texts.rb
|
135
|
+
- lib/ctioga2/graphics/styles/ticks.rb
|
131
136
|
- lib/ctioga2/graphics/subplot-commands.rb
|
132
|
-
- lib/ctioga2/
|
133
|
-
- lib/ctioga2/
|
134
|
-
- lib/ctioga2/
|
135
|
-
- lib/ctioga2/
|
136
|
-
- lib/ctioga2/
|
137
|
-
- lib/ctioga2/
|
138
|
-
- lib/ctioga2/
|
139
|
-
- lib/ctioga2/
|
140
|
-
- lib/ctioga2/
|
141
|
-
- lib/ctioga2/data/backends/factory.rb
|
142
|
-
- lib/ctioga2/data/backends/description.rb
|
143
|
-
- lib/ctioga2/data/backends/parameter.rb
|
144
|
-
- lib/ctioga2/data/backends/backend.rb
|
145
|
-
- lib/ctioga2/data/dataset.rb
|
146
|
-
- lib/ctioga2/data/point.rb
|
137
|
+
- lib/ctioga2/graphics/types.rb
|
138
|
+
- lib/ctioga2/graphics/types/bijection.rb
|
139
|
+
- lib/ctioga2/graphics/types/boundaries.rb
|
140
|
+
- lib/ctioga2/graphics/types/boxes.rb
|
141
|
+
- lib/ctioga2/graphics/types/dimensions.rb
|
142
|
+
- lib/ctioga2/graphics/types/fill.rb
|
143
|
+
- lib/ctioga2/graphics/types/grid.rb
|
144
|
+
- lib/ctioga2/graphics/types/location.rb
|
145
|
+
- lib/ctioga2/graphics/types/point.rb
|
147
146
|
- lib/ctioga2/log.rb
|
148
|
-
- lib/ctioga2/metabuilder/
|
149
|
-
- lib/ctioga2/metabuilder/types
|
147
|
+
- lib/ctioga2/metabuilder/type.rb
|
148
|
+
- lib/ctioga2/metabuilder/types.rb
|
150
149
|
- lib/ctioga2/metabuilder/types/coordinates.rb
|
151
150
|
- lib/ctioga2/metabuilder/types/data.rb
|
152
|
-
- lib/ctioga2/metabuilder/types/
|
151
|
+
- lib/ctioga2/metabuilder/types/dates.rb
|
152
|
+
- lib/ctioga2/metabuilder/types/generic.rb
|
153
153
|
- lib/ctioga2/metabuilder/types/lists.rb
|
154
154
|
- lib/ctioga2/metabuilder/types/numbers.rb
|
155
|
-
- lib/ctioga2/metabuilder/types/
|
156
|
-
- lib/ctioga2/metabuilder/
|
157
|
-
- lib/ctioga2/metabuilder/types.rb
|
155
|
+
- lib/ctioga2/metabuilder/types/strings.rb
|
156
|
+
- lib/ctioga2/metabuilder/types/styles.rb
|
158
157
|
- lib/ctioga2/plotmaker.rb
|
158
|
+
- lib/ctioga2/postprocess.rb
|
159
159
|
- lib/ctioga2/ruby.rb
|
160
|
-
-
|
161
|
-
-
|
160
|
+
- lib/ctioga2/utils.rb
|
161
|
+
- lib/ctioga2/version.rb
|
162
162
|
- setup.rb
|
163
|
-
- bin/ct2-make-movie
|
164
|
-
- bin/ctioga2
|
165
163
|
homepage: http://ctioga2.sourceforge.net
|
166
164
|
licenses: []
|
165
|
+
metadata: {}
|
167
166
|
post_install_message:
|
168
167
|
rdoc_options: []
|
169
168
|
require_paths:
|
170
169
|
- lib
|
171
170
|
required_ruby_version: !ruby/object:Gem::Requirement
|
172
|
-
none: false
|
173
171
|
requirements:
|
174
|
-
- -
|
172
|
+
- - ">="
|
175
173
|
- !ruby/object:Gem::Version
|
176
174
|
version: '0'
|
177
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
|
-
none: false
|
179
176
|
requirements:
|
180
|
-
- -
|
177
|
+
- - ">="
|
181
178
|
- !ruby/object:Gem::Version
|
182
179
|
version: '0'
|
183
180
|
requirements: []
|
184
181
|
rubyforge_project:
|
185
|
-
rubygems_version:
|
182
|
+
rubygems_version: 2.2.2
|
186
183
|
signing_key:
|
187
|
-
specification_version:
|
184
|
+
specification_version: 4
|
188
185
|
summary: ctioga2 - the polymorphic plotting program
|
189
186
|
test_files: []
|