graphit 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/graphit +10 -2
- data/lib/graphit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 408bdfa48282c36e44e87556dd1bb275e3135542
|
4
|
+
data.tar.gz: 15ce09cd169e26f9b5154568b869898305ac1633
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 598e94d4cf32556a8f1610557ed7211e19fb6bd8ba1a19390d6c860ebc74075bbc2b9942b4f96d6aef1c6915a8fb068ce8c4b0a2faeab7f184a0c653bec07b69
|
7
|
+
data.tar.gz: b94dec7e45933ded040340222efb45c26b23f84aa16ccabefad3aa035b99ae16d6650054dcf5d86fa263e36a232912ba917720a67471caae7fa1a0fd69e0e9ed
|
data/exe/graphit
CHANGED
@@ -27,6 +27,14 @@ OptionParser.new do |opts|
|
|
27
27
|
options[:width] = w
|
28
28
|
end
|
29
29
|
|
30
|
+
opts.on("--yticsmod [yticsmod]", Integer) do |yticsmod|
|
31
|
+
options[:yticsmod] = yticsmod
|
32
|
+
end
|
33
|
+
|
34
|
+
opts.on("--xticsmod [xticsmod]", Integer) do |xticsmod|
|
35
|
+
options[:xticsmod] = xticsmod
|
36
|
+
end
|
37
|
+
|
30
38
|
opts.on("-o", "--output-file [file]", "Filename") do |of|
|
31
39
|
options[:outputfile] = of
|
32
40
|
end
|
@@ -156,8 +164,8 @@ puts "ymin: #{@ymin}, ymax: #{@ymax}"
|
|
156
164
|
@left_padding = 100
|
157
165
|
@right_padding = 10
|
158
166
|
|
159
|
-
@y_tics_mod = 10
|
160
|
-
@x_tics_mod = 3600
|
167
|
+
@y_tics_mod = options[:yticsmod] || 10
|
168
|
+
@x_tics_mod = options[:xticsmod] || 3600
|
161
169
|
|
162
170
|
@graph_width = @w - @left_padding - @right_padding
|
163
171
|
@graph_height = @h - @bottom_padding - @top_padding
|
data/lib/graphit/version.rb
CHANGED