ctioga2 0.0 → 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +25 -1
- data/lib/ctioga2/commands/commands.rb +13 -2
- data/lib/ctioga2/commands/doc/doc.rb +13 -17
- data/lib/ctioga2/commands/doc/documentation-commands.rb +14 -1
- data/lib/ctioga2/commands/doc/help.rb +136 -25
- data/lib/ctioga2/commands/doc/html.rb +56 -4
- data/lib/ctioga2/commands/doc/introspection.rb +45 -9
- data/lib/ctioga2/commands/doc/man.rb +7 -5
- data/lib/ctioga2/commands/doc/markup.rb +39 -12
- data/lib/ctioga2/commands/doc/wordwrap.rb +70 -0
- data/lib/ctioga2/commands/general-commands.rb +7 -4
- data/lib/ctioga2/commands/general-types.rb +27 -12
- data/lib/ctioga2/commands/interpreter.rb +2 -2
- data/lib/ctioga2/commands/parsers/command-line.rb +9 -5
- data/lib/ctioga2/commands/parsers/file.rb +5 -3
- data/lib/ctioga2/commands/type.rb +10 -3
- data/lib/ctioga2/commands/variables.rb +2 -2
- data/lib/ctioga2/data/backends/backend.rb +17 -15
- data/lib/ctioga2/data/backends/backends.rb +2 -2
- data/lib/ctioga2/data/backends/backends/gnuplot.rb +20 -5
- data/lib/ctioga2/data/backends/backends/math.rb +2 -2
- data/lib/ctioga2/data/backends/backends/text.rb +112 -17
- data/lib/ctioga2/data/backends/description.rb +10 -11
- data/lib/ctioga2/data/datacolumn.rb +73 -14
- data/lib/ctioga2/data/dataset.rb +305 -9
- data/lib/ctioga2/data/filters.rb +49 -1
- data/lib/ctioga2/data/indexed-dtable.rb +137 -0
- data/lib/ctioga2/data/point.rb +98 -7
- data/lib/ctioga2/data/stack.rb +98 -21
- data/lib/ctioga2/graphics/coordinates.rb +19 -2
- data/lib/ctioga2/graphics/elements.rb +12 -2
- data/lib/ctioga2/graphics/elements/containers.rb +14 -2
- data/lib/ctioga2/graphics/elements/contour.rb +67 -0
- data/lib/ctioga2/graphics/elements/curve2d.rb +103 -42
- data/lib/ctioga2/graphics/elements/element.rb +12 -2
- data/lib/ctioga2/graphics/elements/gradient-region.rb +94 -0
- data/lib/ctioga2/graphics/elements/parametric2d.rb +172 -0
- data/lib/ctioga2/graphics/elements/primitive.rb +37 -21
- data/lib/ctioga2/graphics/elements/region.rb +143 -0
- data/lib/ctioga2/graphics/elements/subplot.rb +92 -32
- data/lib/ctioga2/graphics/elements/tangent.rb +99 -0
- data/lib/ctioga2/graphics/elements/xyz-map.rb +126 -0
- data/lib/ctioga2/graphics/generator.rb +91 -6
- data/lib/ctioga2/graphics/legends.rb +26 -21
- data/lib/ctioga2/graphics/legends/area.rb +8 -8
- data/lib/ctioga2/graphics/legends/items.rb +5 -5
- data/lib/ctioga2/graphics/legends/storage.rb +4 -2
- data/lib/ctioga2/graphics/root.rb +24 -2
- data/lib/ctioga2/graphics/styles.rb +8 -0
- data/lib/ctioga2/graphics/styles/axes.rb +49 -23
- data/lib/ctioga2/graphics/styles/base.rb +2 -2
- data/lib/ctioga2/graphics/styles/carrays.rb +9 -2
- data/lib/ctioga2/graphics/styles/colormap.rb +272 -0
- data/lib/ctioga2/graphics/styles/curve.rb +64 -4
- data/lib/ctioga2/graphics/styles/drawable.rb +68 -9
- data/lib/ctioga2/graphics/styles/errorbar.rb +73 -0
- data/lib/ctioga2/graphics/styles/factory.rb +133 -17
- data/lib/ctioga2/graphics/styles/gradients.rb +60 -0
- data/lib/ctioga2/graphics/styles/location.rb +64 -0
- data/lib/ctioga2/graphics/styles/map-axes.rb +164 -0
- data/lib/ctioga2/graphics/styles/plot.rb +165 -62
- data/lib/ctioga2/graphics/styles/sets.rb +14 -1
- data/lib/ctioga2/graphics/styles/texts.rb +44 -34
- data/lib/ctioga2/graphics/subplot-commands.rb +94 -6
- data/lib/ctioga2/graphics/types.rb +113 -35
- data/lib/ctioga2/graphics/types/bijection.rb +3 -3
- data/lib/ctioga2/graphics/types/boundaries.rb +120 -1
- data/lib/ctioga2/graphics/types/dimensions.rb +8 -1
- data/lib/ctioga2/graphics/types/grid.rb +196 -0
- data/lib/ctioga2/graphics/types/location.rb +228 -0
- data/lib/ctioga2/graphics/types/point.rb +2 -2
- data/lib/ctioga2/log.rb +18 -18
- data/lib/ctioga2/metabuilder/type.rb +15 -3
- data/lib/ctioga2/metabuilder/types.rb +2 -2
- data/lib/ctioga2/metabuilder/types/coordinates.rb +13 -1
- data/lib/ctioga2/metabuilder/types/data.rb +50 -0
- data/lib/ctioga2/metabuilder/types/generic.rb +60 -0
- data/lib/ctioga2/metabuilder/types/lists.rb +53 -16
- data/lib/ctioga2/metabuilder/types/styles.rb +26 -45
- data/lib/ctioga2/plotmaker.rb +91 -20
- data/lib/ctioga2/postprocess.rb +8 -8
- data/lib/ctioga2/utils.rb +23 -4
- metadata +107 -75
- data/lib/ctioga2/data/merge.rb +0 -43
data/lib/ctioga2/plotmaker.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# plotmaker.rb: the main class for ctioga
|
2
|
-
# copyright (c) 2006, 2007, 2008, 2009 by Vincent Fourmond
|
2
|
+
# copyright (c) 2006, 2007, 2008, 2009, 2010 by Vincent Fourmond
|
3
3
|
|
4
4
|
# This program is free software; you can redistribute it and/or modify
|
5
5
|
# it under the terms of the GNU General Public License as published by
|
@@ -91,9 +91,12 @@
|
|
91
91
|
# toplevel (sub)plot positions are absolute ?)
|
92
92
|
#
|
93
93
|
# This scheme would allow for a relatively painless way to draw graphs...
|
94
|
+
#
|
95
|
+
# * Possibly wite
|
96
|
+
|
94
97
|
|
95
98
|
|
96
|
-
#
|
99
|
+
# \todo make --xrange automatically select the range for the --math
|
97
100
|
# backend unless another range was explicitly specified.
|
98
101
|
|
99
102
|
require 'ctioga2/utils'
|
@@ -130,15 +133,36 @@ require 'ctioga2/graphics/generator'
|
|
130
133
|
require 'ctioga2/postprocess'
|
131
134
|
|
132
135
|
|
133
|
-
|
136
|
+
## \mainpage CTioga2's code documentation.
|
134
137
|
# This module contains all the classes used by ctioga
|
138
|
+
#
|
139
|
+
#
|
140
|
+
# This holds the main page for CTioga2 code documentation. Most
|
141
|
+
# interesting classes/namespaces are:
|
142
|
+
#
|
143
|
+
# * CTioga2::PlotMaker
|
144
|
+
# * CTioga2::Graphics
|
145
|
+
# * CTioga2::Commands
|
146
|
+
# * CTioga2::Data
|
147
|
+
#
|
148
|
+
# Have fun hacking...
|
135
149
|
module CTioga2
|
136
150
|
|
137
|
-
Version::register_svn_info('$Revision:
|
151
|
+
Version::register_svn_info('$Revision: 244 $', '$Date: 2011-01-23 23:36:02 +0100 (Sun, 23 Jan 2011) $')
|
138
152
|
|
139
153
|
# This class is the core of ctioga. It parses the command-line arguments,
|
140
154
|
# reads all necessary files and plots graphs. Most of its functionality
|
141
155
|
# is delegated into classes.
|
156
|
+
#
|
157
|
+
# \todo An important point would be to provide a facility that holds
|
158
|
+
# all the default values. To each would be assigned a given name,
|
159
|
+
# and programs would only use something like
|
160
|
+
# \code
|
161
|
+
# value = Default::value('stuff')
|
162
|
+
# \endcode
|
163
|
+
#
|
164
|
+
# Setting up defaults would only be a question of using one single
|
165
|
+
# command (with admittedly many optional arguments)
|
142
166
|
class PlotMaker
|
143
167
|
|
144
168
|
# Include logging facilities for ctioga2
|
@@ -180,6 +204,9 @@ module CTioga2
|
|
180
204
|
# Whether intermediate files are cleaned up automatically
|
181
205
|
# afterwards or not...
|
182
206
|
attr_accessor :cleanup
|
207
|
+
|
208
|
+
# The stack of CurveStyle objects that were used so far.
|
209
|
+
attr_accessor :curve_style_stack
|
183
210
|
|
184
211
|
|
185
212
|
# The first instance of PlotMaker created
|
@@ -217,6 +244,9 @@ module CTioga2
|
|
217
244
|
|
218
245
|
# Remove intermediate files by default.
|
219
246
|
@cleanup = true
|
247
|
+
|
248
|
+
# Make curve style stack empty
|
249
|
+
@curve_style_stack = []
|
220
250
|
end
|
221
251
|
|
222
252
|
# ctioga's entry point.
|
@@ -236,18 +266,18 @@ module CTioga2
|
|
236
266
|
@interpreter.run_command_line(command_line)
|
237
267
|
|
238
268
|
# Now, draw the main figure
|
239
|
-
file = draw_figure(@figure_name || "Plot", true)
|
269
|
+
file = draw_figure(@figure_name || "Plot-%03d", true)
|
240
270
|
rescue SystemExit => e
|
241
271
|
# We special-case the exit exception ;-)...
|
242
272
|
rescue Exception => e
|
243
|
-
debug format_exception(e)
|
244
|
-
fatal "#{e.message}"
|
273
|
+
debug { format_exception(e) }
|
274
|
+
fatal { "#{e.message}" }
|
245
275
|
end
|
246
276
|
end
|
247
277
|
|
248
278
|
# Flushes the current root object and starts a new one:
|
249
279
|
def reset_graphics
|
250
|
-
draw_figure(@figure_name || "Plot", true)
|
280
|
+
draw_figure(@figure_name || "Plot-%03d", true)
|
251
281
|
|
252
282
|
@root_object = Graphics::RootObject.new
|
253
283
|
@curve_generator = Graphics::CurveGenerator.new
|
@@ -263,14 +293,38 @@ module CTioga2
|
|
263
293
|
return "#{File.basename($0)} #{quoted_args}"
|
264
294
|
end
|
265
295
|
|
266
|
-
# Draws the figure currently accumulated in the #root_object.
|
267
|
-
#
|
296
|
+
# Draws the figure currently accumulated in the #root_object. It
|
297
|
+
# returns the path of the PDF file produced.
|
298
|
+
#
|
299
|
+
# If _figname_ contains a % sign, it will be interpreted as a
|
300
|
+
# format, and ctioga will attempt to find the first numbered file
|
301
|
+
# that does not exists.
|
268
302
|
#
|
269
|
-
#
|
303
|
+
# \todo
|
270
304
|
# * cleanup or not ?
|
271
|
-
def draw_figure(figname = "Plot", last = false)
|
305
|
+
def draw_figure(figname = "Plot-%03d", last = false)
|
272
306
|
return if @root_object.empty?
|
273
|
-
|
307
|
+
|
308
|
+
if figname =~ /%/
|
309
|
+
i = 0
|
310
|
+
prev = figname.dup
|
311
|
+
while true
|
312
|
+
f = figname % i
|
313
|
+
if f == prev
|
314
|
+
figname = f
|
315
|
+
break
|
316
|
+
end
|
317
|
+
if File::exist?("#{f}.pdf")
|
318
|
+
i += 1
|
319
|
+
else
|
320
|
+
figname = f
|
321
|
+
break
|
322
|
+
end
|
323
|
+
prev = f
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
info { "Producing figure '#{figname}'" }
|
274
328
|
|
275
329
|
t = create_figure_maker
|
276
330
|
# If figname is clearly a path, we split it into directory/name
|
@@ -304,20 +358,21 @@ module CTioga2
|
|
304
358
|
# Add *one* Data::Dataset object using the current style (that can
|
305
359
|
# be overridden by stuff given as options) to the #root_object.
|
306
360
|
#
|
307
|
-
#
|
361
|
+
# \todo here, keep a state of the current styles:
|
308
362
|
# * which is the color/marker/filling and so on of the curve ?
|
309
363
|
# * are we drawing plain 2D curve, a histogram or something
|
310
364
|
# even more fancy ?
|
311
365
|
# * this should be a separated class.
|
312
366
|
#
|
313
|
-
#
|
367
|
+
# \todo all curve objects should only take a Data::Dataset and a
|
314
368
|
# style as arguments to new.
|
315
369
|
def add_curve(dataset, options = {})
|
316
370
|
plot = @root_object.current_plot
|
317
371
|
curve = @curve_generator.
|
318
372
|
curve_from_dataset(plot, dataset, options)
|
319
373
|
plot.add_element(curve)
|
320
|
-
|
374
|
+
@curve_style_stack << curve.curve_style
|
375
|
+
info { "Adding curve '#{dataset.name}' to the current plot" }
|
321
376
|
end
|
322
377
|
|
323
378
|
# Transforms a _dataset_spec_ into one or several Data::Dataset
|
@@ -328,8 +383,8 @@ module CTioga2
|
|
328
383
|
begin
|
329
384
|
sets = @data_stack.get_datasets(dataset_spec, options)
|
330
385
|
rescue Exception => exception
|
331
|
-
error "A problem occurred while processing dataset '#{dataset_spec}' using backend #{@data_stack.backend_factory.current.description.name}. Ignoring it."
|
332
|
-
debug format_exception(exception)
|
386
|
+
error { "A problem occurred while processing dataset '#{dataset_spec}' using backend #{@data_stack.backend_factory.current.description.name}. Ignoring it." }
|
387
|
+
debug { format_exception(exception) }
|
333
388
|
return
|
334
389
|
end
|
335
390
|
for set in sets
|
@@ -358,6 +413,15 @@ module CTioga2
|
|
358
413
|
else
|
359
414
|
title = ""
|
360
415
|
end
|
416
|
+
|
417
|
+
# We use Vincent's algorithm for major ticks when available ;-)...
|
418
|
+
begin
|
419
|
+
t.vincent_or_bill = true
|
420
|
+
info { "Using Vincent's algorithm for major ticks" }
|
421
|
+
rescue
|
422
|
+
info { "Using Bill's algorithm for major ticks" }
|
423
|
+
end
|
424
|
+
|
361
425
|
|
362
426
|
# We now use \pdfinfo to provide information about the version
|
363
427
|
# of ctioga2 used to produce the PDF, and the command-line if
|
@@ -409,7 +473,7 @@ EOH
|
|
409
473
|
PlotLastCommand.describe("Plots the last dataset pushed onto the stack",
|
410
474
|
<<EOH, PlotGroup)
|
411
475
|
Plots the last dataset pushed onto the data stack (or the one
|
412
|
-
specified with the
|
476
|
+
specified with the @which@ option), with the current style. All
|
413
477
|
aspects of the curve style (colors, markers, line styles...) can be
|
414
478
|
overridden through the use of options.
|
415
479
|
EOH
|
@@ -478,7 +542,7 @@ EOD
|
|
478
542
|
|
479
543
|
PageSizeCommand =
|
480
544
|
Cmd.new("page-size",'-r',"--page-size",
|
481
|
-
[ CmdArg.new('text') ], #
|
545
|
+
[ CmdArg.new('text') ], # \todo change that !
|
482
546
|
{ 'count-legend' => CmdArg.new('boolean')}
|
483
547
|
) do |plotmaker, size, options|
|
484
548
|
plotmaker.root_object.set_page_size(size)
|
@@ -522,6 +586,13 @@ EOH
|
|
522
586
|
Sets the name of the figure, which is also the base name for the output file.
|
523
587
|
This has nothing to do with the title of the plot, which can be set using
|
524
588
|
the command {command: title}.
|
589
|
+
|
590
|
+
If the name contains a %, it is interpreted by ctioga2 as a
|
591
|
+
printf-like format. It will attempt to find the first file that does
|
592
|
+
not exist, feeding it with increasing numbers.
|
593
|
+
|
594
|
+
The default value is now Plot-%03d, which means you'll get increasing numbers
|
595
|
+
automatically.
|
525
596
|
EOH
|
526
597
|
|
527
598
|
OutputNowCommand =
|
data/lib/ctioga2/postprocess.rb
CHANGED
@@ -17,11 +17,11 @@ require 'ctioga2/log'
|
|
17
17
|
|
18
18
|
module CTioga2
|
19
19
|
|
20
|
-
Version::register_svn_info('$Revision:
|
20
|
+
Version::register_svn_info('$Revision: 155 $', '$Date: 2010-06-21 21:41:32 +0200 (Mon, 21 Jun 2010) $')
|
21
21
|
|
22
22
|
# What happens to generated PDF files ?
|
23
23
|
#
|
24
|
-
#
|
24
|
+
# \todo
|
25
25
|
# * handle movie generation ? That would be fun !
|
26
26
|
class PostProcess
|
27
27
|
|
@@ -76,21 +76,21 @@ module CTioga2
|
|
76
76
|
# Converts to SVG if applicable
|
77
77
|
if @svg
|
78
78
|
target = file.sub(/(\.pdf)?$/,'.svg')
|
79
|
-
info "Converting #{file} to SVG"
|
79
|
+
info { "Converting #{file} to SVG" }
|
80
80
|
spawn("pdf2svg #{file} #{target}")
|
81
81
|
end
|
82
82
|
|
83
83
|
if @eps
|
84
84
|
target = file.sub(/(\.pdf)?$/,'.eps')
|
85
|
-
info "Converting #{file} to EPS"
|
86
|
-
|
85
|
+
info { "Converting #{file} to EPS" }
|
86
|
+
## \todo provide some facility to pass options to pdftops ?
|
87
|
+
spawn("pdftops -eps -level2 -paper match #{file} #{target}")
|
87
88
|
end
|
88
89
|
|
89
90
|
# Converts to PNG if applicable
|
90
91
|
if @png_res
|
91
92
|
target = file.sub(/(\.pdf)?$/,'.png')
|
92
|
-
info "Converting #{file} to PNG"
|
93
|
-
|
93
|
+
info { "Converting #{file} to PNG" }
|
94
94
|
spawn "convert -density #{(@png_oversampling * @png_scale * 72).to_i} #{file} -resize #{@png_res.join('x')} #{target}"
|
95
95
|
end
|
96
96
|
|
@@ -103,7 +103,7 @@ module CTioga2
|
|
103
103
|
else
|
104
104
|
cmd = "#{@viewer} #{file}"
|
105
105
|
end
|
106
|
-
info "Spawning the viewer as requested for #{file}"
|
106
|
+
info { "Spawning the viewer as requested for #{file}" }
|
107
107
|
spawn(cmd)
|
108
108
|
end
|
109
109
|
end
|
data/lib/ctioga2/utils.rb
CHANGED
@@ -34,7 +34,7 @@ module CTioga2
|
|
34
34
|
# arguments and have the Date and Revision svn:keyword:. Use this
|
35
35
|
# way:
|
36
36
|
#
|
37
|
-
# Version::register_svn_info('$Revision:
|
37
|
+
# Version::register_svn_info('$Revision: 194 $', '$Date: 2010-11-22 10:26:54 +0100 (Mon, 22 Nov 2010) $')
|
38
38
|
#
|
39
39
|
# To set the correct properties, the following command-line can be
|
40
40
|
# used:
|
@@ -69,16 +69,16 @@ module CTioga2
|
|
69
69
|
}
|
70
70
|
|
71
71
|
# The position of the URL, used for getting the version
|
72
|
-
SVN_URL = '$HeadURL: svn+ssh://rubyforge.org/var/svn/ctioga2/releases/ctioga2-0.
|
72
|
+
SVN_URL = '$HeadURL: svn+ssh://rubyforge.org/var/svn/ctioga2/releases/ctioga2-0.1/lib/ctioga2/utils.rb $'
|
73
73
|
|
74
|
-
# The version of
|
74
|
+
# The version of ctioga2
|
75
75
|
CTIOGA_VERSION = if SVN_URL =~ /releases\/ctioga2-([^\/]+)/
|
76
76
|
$1
|
77
77
|
else
|
78
78
|
"SVN version"
|
79
79
|
end
|
80
80
|
|
81
|
-
register_svn_info('$Revision:
|
81
|
+
register_svn_info('$Revision: 194 $', '$Date: 2010-11-22 10:26:54 +0100 (Mon, 22 Nov 2010) $')
|
82
82
|
|
83
83
|
end
|
84
84
|
|
@@ -99,6 +99,16 @@ module CTioga2
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
+
# Takes two arrays of the same size (vectors) and mix them
|
103
|
+
# a * r + b * (1 - r)
|
104
|
+
def self.mix_objects(a,b,r)
|
105
|
+
ret = a.dup
|
106
|
+
a.each_index do |i|
|
107
|
+
ret[i] = a[i] * r + b[i] * (1 - r)
|
108
|
+
end
|
109
|
+
return ret
|
110
|
+
end
|
111
|
+
|
102
112
|
# Quotes a string so it can be included directly within a
|
103
113
|
# \pdfinfo statement (for instance).
|
104
114
|
def self.pdftex_quote_string(str)
|
@@ -115,6 +125,15 @@ module CTioga2
|
|
115
125
|
end
|
116
126
|
end
|
117
127
|
|
128
|
+
# Binomial coefficients (for the smooth filter)
|
129
|
+
def self.cnk(n,k)
|
130
|
+
res = 1.0
|
131
|
+
n.downto(n - k) { |i| res *= i}
|
132
|
+
k.downto(1) {|i| res = res/i }
|
133
|
+
return res
|
134
|
+
end
|
135
|
+
|
136
|
+
|
118
137
|
end
|
119
138
|
|
120
139
|
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ctioga2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 9
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
version: "0.1"
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Vincent Fourmond <vincent.fourmond@9online.fr>
|
@@ -9,19 +14,24 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2011-01-31 00:00:00 +01:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: tioga
|
17
|
-
|
18
|
-
|
19
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
20
25
|
requirements:
|
21
26
|
- - ">="
|
22
27
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
28
|
+
hash: 21
|
29
|
+
segments:
|
30
|
+
- 1
|
31
|
+
- 13
|
32
|
+
version: "1.13"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
25
35
|
description:
|
26
36
|
email: vincent.fourmond@9online.fr
|
27
37
|
executables:
|
@@ -31,83 +41,99 @@ extensions: []
|
|
31
41
|
extra_rdoc_files: []
|
32
42
|
|
33
43
|
files:
|
34
|
-
- lib/ctioga2/
|
35
|
-
- lib/ctioga2/
|
36
|
-
- lib/ctioga2/
|
37
|
-
- lib/ctioga2/
|
38
|
-
- lib/ctioga2/
|
39
|
-
- lib/ctioga2/
|
40
|
-
- lib/ctioga2/
|
41
|
-
- lib/ctioga2/
|
42
|
-
- lib/ctioga2/
|
43
|
-
- lib/ctioga2/
|
44
|
-
- lib/ctioga2/
|
44
|
+
- lib/ctioga2/data/indexed-dtable.rb
|
45
|
+
- lib/ctioga2/data/datacolumn.rb
|
46
|
+
- lib/ctioga2/data/point.rb
|
47
|
+
- lib/ctioga2/data/stack.rb
|
48
|
+
- lib/ctioga2/data/filters.rb
|
49
|
+
- lib/ctioga2/data/dataset.rb
|
50
|
+
- lib/ctioga2/data/backends/factory.rb
|
51
|
+
- lib/ctioga2/data/backends/parameter.rb
|
52
|
+
- lib/ctioga2/data/backends/description.rb
|
53
|
+
- lib/ctioga2/data/backends/backends.rb
|
54
|
+
- lib/ctioga2/data/backends/backend.rb
|
55
|
+
- lib/ctioga2/data/backends/backends/math.rb
|
56
|
+
- lib/ctioga2/data/backends/backends/text.rb
|
57
|
+
- lib/ctioga2/data/backends/backends/gnuplot.rb
|
58
|
+
- lib/ctioga2/log.rb
|
59
|
+
- lib/ctioga2/plotmaker.rb
|
60
|
+
- lib/ctioga2/commands/type.rb
|
61
|
+
- lib/ctioga2/commands/general-commands.rb
|
62
|
+
- lib/ctioga2/commands/commands.rb
|
63
|
+
- lib/ctioga2/commands/doc/introspection.rb
|
64
|
+
- lib/ctioga2/commands/doc/documentation-commands.rb
|
65
|
+
- lib/ctioga2/commands/doc/help.rb
|
66
|
+
- lib/ctioga2/commands/doc/markup.rb
|
67
|
+
- lib/ctioga2/commands/doc/doc.rb
|
68
|
+
- lib/ctioga2/commands/doc/wordwrap.rb
|
69
|
+
- lib/ctioga2/commands/doc/man.rb
|
70
|
+
- lib/ctioga2/commands/doc/html.rb
|
71
|
+
- lib/ctioga2/commands/strings.rb
|
72
|
+
- lib/ctioga2/commands/variables.rb
|
73
|
+
- lib/ctioga2/commands/parsers/file.rb
|
74
|
+
- lib/ctioga2/commands/parsers/command-line.rb
|
75
|
+
- lib/ctioga2/commands/groups.rb
|
76
|
+
- lib/ctioga2/commands/interpreter.rb
|
77
|
+
- lib/ctioga2/commands/arguments.rb
|
78
|
+
- lib/ctioga2/commands/general-types.rb
|
79
|
+
- lib/ctioga2/graphics/legends.rb
|
45
80
|
- lib/ctioga2/graphics/styles/curve.rb
|
81
|
+
- lib/ctioga2/graphics/styles/errorbar.rb
|
82
|
+
- lib/ctioga2/graphics/styles/gradients.rb
|
46
83
|
- lib/ctioga2/graphics/styles/factory.rb
|
47
|
-
- lib/ctioga2/graphics/styles/
|
84
|
+
- lib/ctioga2/graphics/styles/carrays.rb
|
85
|
+
- lib/ctioga2/graphics/styles/location.rb
|
86
|
+
- lib/ctioga2/graphics/styles/map-axes.rb
|
87
|
+
- lib/ctioga2/graphics/styles/drawable.rb
|
88
|
+
- lib/ctioga2/graphics/styles/axes.rb
|
89
|
+
- lib/ctioga2/graphics/styles/background.rb
|
48
90
|
- lib/ctioga2/graphics/styles/base.rb
|
49
|
-
- lib/ctioga2/graphics/
|
91
|
+
- lib/ctioga2/graphics/styles/sets.rb
|
92
|
+
- lib/ctioga2/graphics/styles/plot.rb
|
93
|
+
- lib/ctioga2/graphics/styles/colormap.rb
|
94
|
+
- lib/ctioga2/graphics/styles/texts.rb
|
95
|
+
- lib/ctioga2/graphics/styles/legend.rb
|
96
|
+
- lib/ctioga2/graphics/styles.rb
|
97
|
+
- lib/ctioga2/graphics/coordinates.rb
|
98
|
+
- lib/ctioga2/graphics/legends/area.rb
|
99
|
+
- lib/ctioga2/graphics/legends/items.rb
|
100
|
+
- lib/ctioga2/graphics/legends/storage.rb
|
101
|
+
- lib/ctioga2/graphics/legends/provider.rb
|
102
|
+
- lib/ctioga2/graphics/types.rb
|
103
|
+
- lib/ctioga2/graphics/elements/subplot.rb
|
104
|
+
- lib/ctioga2/graphics/elements/parametric2d.rb
|
105
|
+
- lib/ctioga2/graphics/elements/primitive.rb
|
106
|
+
- lib/ctioga2/graphics/elements/region.rb
|
107
|
+
- lib/ctioga2/graphics/elements/curve2d.rb
|
108
|
+
- lib/ctioga2/graphics/elements/containers.rb
|
109
|
+
- lib/ctioga2/graphics/elements/tangent.rb
|
110
|
+
- lib/ctioga2/graphics/elements/xyz-map.rb
|
111
|
+
- lib/ctioga2/graphics/elements/contour.rb
|
112
|
+
- lib/ctioga2/graphics/elements/gradient-region.rb
|
113
|
+
- lib/ctioga2/graphics/elements/element.rb
|
114
|
+
- lib/ctioga2/graphics/subplot-commands.rb
|
115
|
+
- lib/ctioga2/graphics/generator.rb
|
116
|
+
- lib/ctioga2/graphics/elements.rb
|
50
117
|
- lib/ctioga2/graphics/types/bijection.rb
|
118
|
+
- lib/ctioga2/graphics/types/location.rb
|
51
119
|
- lib/ctioga2/graphics/types/dimensions.rb
|
52
120
|
- lib/ctioga2/graphics/types/point.rb
|
53
121
|
- lib/ctioga2/graphics/types/boundaries.rb
|
54
|
-
- lib/ctioga2/graphics/
|
55
|
-
- lib/ctioga2/graphics/
|
56
|
-
- lib/ctioga2/graphics/elements/primitive.rb
|
57
|
-
- lib/ctioga2/graphics/elements/subplot.rb
|
58
|
-
- lib/ctioga2/graphics/elements/element.rb
|
59
|
-
- lib/ctioga2/graphics/elements/curve2d.rb
|
122
|
+
- lib/ctioga2/graphics/types/boxes.rb
|
123
|
+
- lib/ctioga2/graphics/types/grid.rb
|
60
124
|
- lib/ctioga2/graphics/root.rb
|
61
|
-
- lib/ctioga2/
|
62
|
-
- lib/ctioga2/
|
63
|
-
- lib/ctioga2/
|
64
|
-
- lib/ctioga2/
|
65
|
-
- lib/ctioga2/graphics/coordinates.rb
|
66
|
-
- lib/ctioga2/graphics/elements.rb
|
67
|
-
- lib/ctioga2/commands/parsers/file.rb
|
68
|
-
- lib/ctioga2/commands/parsers/command-line.rb
|
69
|
-
- lib/ctioga2/commands/doc/markup.rb
|
70
|
-
- lib/ctioga2/commands/doc/introspection.rb
|
71
|
-
- lib/ctioga2/commands/doc/html.rb
|
72
|
-
- lib/ctioga2/commands/doc/doc.rb
|
73
|
-
- lib/ctioga2/commands/doc/documentation-commands.rb
|
74
|
-
- lib/ctioga2/commands/doc/help.rb
|
75
|
-
- lib/ctioga2/commands/doc/man.rb
|
76
|
-
- lib/ctioga2/commands/general-types.rb
|
77
|
-
- lib/ctioga2/commands/groups.rb
|
78
|
-
- lib/ctioga2/commands/commands.rb
|
79
|
-
- lib/ctioga2/commands/type.rb
|
80
|
-
- lib/ctioga2/commands/interpreter.rb
|
81
|
-
- lib/ctioga2/commands/arguments.rb
|
82
|
-
- lib/ctioga2/commands/variables.rb
|
83
|
-
- lib/ctioga2/commands/strings.rb
|
84
|
-
- lib/ctioga2/commands/general-commands.rb
|
85
|
-
- lib/ctioga2/data/backends/backends/text.rb
|
86
|
-
- lib/ctioga2/data/backends/backends/gnuplot.rb
|
87
|
-
- lib/ctioga2/data/backends/backends/math.rb
|
88
|
-
- lib/ctioga2/data/backends/parameter.rb
|
89
|
-
- lib/ctioga2/data/backends/description.rb
|
90
|
-
- lib/ctioga2/data/backends/backend.rb
|
91
|
-
- lib/ctioga2/data/backends/factory.rb
|
92
|
-
- lib/ctioga2/data/backends/backends.rb
|
93
|
-
- lib/ctioga2/data/merge.rb
|
94
|
-
- lib/ctioga2/data/dataset.rb
|
95
|
-
- lib/ctioga2/data/stack.rb
|
96
|
-
- lib/ctioga2/data/datacolumn.rb
|
97
|
-
- lib/ctioga2/data/filters.rb
|
98
|
-
- lib/ctioga2/data/point.rb
|
99
|
-
- lib/ctioga2/plotmaker.rb
|
125
|
+
- lib/ctioga2/utils.rb
|
126
|
+
- lib/ctioga2/postprocess.rb
|
127
|
+
- lib/ctioga2/metabuilder/type.rb
|
128
|
+
- lib/ctioga2/metabuilder/types.rb
|
100
129
|
- lib/ctioga2/metabuilder/types/lists.rb
|
101
130
|
- lib/ctioga2/metabuilder/types/dates.rb
|
131
|
+
- lib/ctioga2/metabuilder/types/numbers.rb
|
102
132
|
- lib/ctioga2/metabuilder/types/styles.rb
|
103
133
|
- lib/ctioga2/metabuilder/types/strings.rb
|
104
134
|
- lib/ctioga2/metabuilder/types/coordinates.rb
|
105
|
-
- lib/ctioga2/metabuilder/types/
|
106
|
-
- lib/ctioga2/metabuilder/
|
107
|
-
- lib/ctioga2/metabuilder/types.rb
|
108
|
-
- lib/ctioga2/utils.rb
|
109
|
-
- lib/ctioga2/log.rb
|
110
|
-
- lib/ctioga2/postprocess.rb
|
135
|
+
- lib/ctioga2/metabuilder/types/data.rb
|
136
|
+
- lib/ctioga2/metabuilder/types/generic.rb
|
111
137
|
- COPYING
|
112
138
|
- Changelog
|
113
139
|
- setup.rb
|
@@ -122,23 +148,29 @@ rdoc_options: []
|
|
122
148
|
require_paths:
|
123
149
|
- lib
|
124
150
|
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
+
none: false
|
125
152
|
requirements:
|
126
153
|
- - ">="
|
127
154
|
- !ruby/object:Gem::Version
|
155
|
+
hash: 3
|
156
|
+
segments:
|
157
|
+
- 0
|
128
158
|
version: "0"
|
129
|
-
version:
|
130
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
131
161
|
requirements:
|
132
162
|
- - ">="
|
133
163
|
- !ruby/object:Gem::Version
|
164
|
+
hash: 3
|
165
|
+
segments:
|
166
|
+
- 0
|
134
167
|
version: "0"
|
135
|
-
version:
|
136
168
|
requirements: []
|
137
169
|
|
138
170
|
rubyforge_project: ctioga2
|
139
|
-
rubygems_version: 1.3.
|
171
|
+
rubygems_version: 1.3.7
|
140
172
|
signing_key:
|
141
173
|
specification_version: 3
|
142
|
-
summary:
|
174
|
+
summary: ctioga2 - the polymorphic plotting program
|
143
175
|
test_files: []
|
144
176
|
|