grada 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/grada.rb +2 -2
- metadata +1 -1
data/lib/grada.rb
CHANGED
|
@@ -216,7 +216,7 @@ class Grada
|
|
|
216
216
|
raise NoPlotDataError if ! @y.nil? && @x.size != @y.size
|
|
217
217
|
|
|
218
218
|
style = Gnuplot::Style.new do |ds|
|
|
219
|
-
ds.index =
|
|
219
|
+
ds.index = 0
|
|
220
220
|
STYLES.each do |style|
|
|
221
221
|
ds.send("#{style}=", dic[style]) if dic[style]
|
|
222
222
|
end
|
|
@@ -250,7 +250,7 @@ class Grada
|
|
|
250
250
|
plot.set "tics out nomirror"
|
|
251
251
|
|
|
252
252
|
style = Gnuplot::Style.new do |ds|
|
|
253
|
-
ds.index =
|
|
253
|
+
ds.index = 0
|
|
254
254
|
STYLES.each do |style|
|
|
255
255
|
ds.send("#{style}=", dic[style]) if dic[style]
|
|
256
256
|
end
|