gnutemplate 0.1.8 → 0.1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gnutemplate/version.rb +1 -1
- data/lib/gnutemplate.rb +6 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3dd7398ce7190378ca93785011183b56aa25dea3c87ae8e358156582f238596e
|
4
|
+
data.tar.gz: eb5f9c6ab9d5750cc0c2bd404a0b922858b4af7cdb6b64429b702010d60c0ded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27ec96672fd238aa3ef6e60f66f1b13832f29c6690d8ad17caf2cf2a1caacf7cb488be6c4863633242798ef2963750ef9a47432a6d6eb8366ca53f429d3b4b3b
|
7
|
+
data.tar.gz: c50e8c423f6aae5dff91ffdee866b2de055ccd82c57d5f1909ea83259113da98e309992c1471b7993e9d3f2b8416b79390ec5725c76af74108bbde502ccd6902
|
data/lib/gnutemplate/version.rb
CHANGED
data/lib/gnutemplate.rb
CHANGED
@@ -173,7 +173,7 @@ module Gnutemplate
|
|
173
173
|
set auto:"x"
|
174
174
|
set :style, :data, :histogram
|
175
175
|
set :style, :histogram, :cluster, gap:1
|
176
|
-
set :style, :
|
176
|
+
set :style, :fill, solid: 1.0 - (alpha/100.0), border:-1
|
177
177
|
set boxwidth:0.9
|
178
178
|
set :xtic, :rotate, by: rotate_xtics, scale: 0
|
179
179
|
|
@@ -189,7 +189,7 @@ module Gnutemplate
|
|
189
189
|
labels ||= (0...(freqs.length)).map(&:to_s)
|
190
190
|
|
191
191
|
args = freqs.zip(labels).each_with_index.map do |(f, l), i|
|
192
|
-
[*f, using: 2, :histogram, t: labels[i], fillcolor: "rgb \"#{colors[
|
192
|
+
[*f, using: 2, w: :histogram, t: labels[i], fillcolor: "rgb \"#{colors[i % 4]}\""]
|
193
193
|
end
|
194
194
|
|
195
195
|
plot *args
|
@@ -262,7 +262,7 @@ module Gnutemplate
|
|
262
262
|
set auto:"x"
|
263
263
|
set :style, :data, :histogram
|
264
264
|
set :style, :histogram, :cluster, gap:1
|
265
|
-
set :style, :
|
265
|
+
set :style, :fill, solid: 1.0 - (alpha/100.0), border:-1
|
266
266
|
set boxwidth:0.9
|
267
267
|
set :xtic, :rotate, by: rotate_xtics, scale: 0
|
268
268
|
|
@@ -278,14 +278,14 @@ module Gnutemplate
|
|
278
278
|
labels ||= (0...(freqs.length)).map(&:to_s)
|
279
279
|
|
280
280
|
args = freqs.zip(labels).each_with_index.map do |(f, l), i|
|
281
|
-
[*f, using: 2, :histogram, t: labels[i], fillcolor: "rgb \"#{colors[
|
281
|
+
[*f, using: 2, w: :histogram, t: labels[i], fillcolor: "rgb \"#{colors[i % 4]}\""]
|
282
282
|
end
|
283
283
|
|
284
284
|
plot *args
|
285
|
-
|
286
|
-
#plot [*freqs[0], using: 2, w: :histogram, t: labels[0], fillcolor: "rgb \"#{colors[0 % 4]}\""],
|
285
|
+
,
|
287
286
|
#[*freqs[1], using: 2, w: :histogram, t: labels[1], fillcolor: "rgb \"#{colors[1 % 4]}\""],
|
288
287
|
#[*freqs[2], using: 2, w: :histogram, t: labels[2], fillcolor: "rgb \"#{colors[2 % 4]}\""]
|
288
|
+
#plot [*freqs[0], using: 2, w: :histogram, t: labels[0], fillcolor: "rgb \"#{colors[0 % 4]}\""]
|
289
289
|
|
290
290
|
end # Of if pileup..else
|
291
291
|
end # Of Numo.noteplot do
|