gnuplot 2.6.1 → 2.6.2
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/ChangeLog +3 -0
- data/Rakefile +1 -1
- data/lib/gnuplot.rb +7 -4
- metadata +3 -3
data/ChangeLog
CHANGED
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'jeweler2'
|
|
2
2
|
Jeweler::Tasks.new do |s|
|
3
3
|
s.name = 'gnuplot'
|
4
4
|
s.description = s.summary = "Utility library to aid in interacting with gnuplot from ruby"
|
5
|
-
s.version = "2.6.
|
5
|
+
s.version = "2.6.2"
|
6
6
|
s.authors='roger pack'
|
7
7
|
s.email = "rogerpack2005@gmail.com"
|
8
8
|
s.homepage = "http://github.com/rdp/ruby_gnuplot/tree/master"
|
data/lib/gnuplot.rb
CHANGED
@@ -175,17 +175,20 @@ module Gnuplot
|
|
175
175
|
end
|
176
176
|
end
|
177
177
|
|
178
|
+
# Analogous to Plot class, holds command information and performs the formatting of that command
|
179
|
+
# information to a Gnuplot process. Should be used when for drawing 3D plots.
|
180
|
+
|
178
181
|
class SPlot < Plot
|
179
182
|
|
180
183
|
def initialize (io = nil, cmd = "splot")
|
181
184
|
super
|
182
185
|
end
|
183
186
|
|
187
|
+
# Currently using the implementation from parent class Plot.
|
188
|
+
# Leaving the method explicit here, though, as to allow an specific
|
189
|
+
# implementation for SPlot in the future.
|
184
190
|
def to_gplot (io = "")
|
185
|
-
|
186
|
-
io << setting.map(&:to_s).join(" ") << "\n"
|
187
|
-
end
|
188
|
-
io
|
191
|
+
super
|
189
192
|
end
|
190
193
|
|
191
194
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gnuplot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-02 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Utility library to aid in interacting with gnuplot from ruby
|
15
15
|
email: rogerpack2005@gmail.com
|
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
60
60
|
rubyforge_project:
|
61
|
-
rubygems_version: 1.8.
|
61
|
+
rubygems_version: 1.8.24
|
62
62
|
signing_key:
|
63
63
|
specification_version: 3
|
64
64
|
summary: Utility library to aid in interacting with gnuplot from ruby
|