Permalink
Browse files

Add smooth option

  • Loading branch information...
1 parent 670b60e commit 418526c05501b0a75679eb4ab05be0fef1a65fe6 @cheetah committed Sep 26, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/gnuplot.rb
View
3 lib/gnuplot.rb
@@ -189,7 +189,7 @@ def to_gplot (io = "")
# @todo Use the delegator to delegate to the data property.
class DataSet
- attr_accessor :title, :with, :using, :data, :linewidth, :matrix
+ attr_accessor :title, :with, :using, :data, :linewidth, :matrix, :smooth
def initialize (data = nil)
@data = data
@@ -216,6 +216,7 @@ def plot_args (io = "")
io << " matrix" if @matrix
io << " with #{@with}" if @with
+ io << " smooth #{@smooth}" if @smooth
io << " linewidth #{@linewidth}" if @linewidth
io
end

0 comments on commit 418526c

Please sign in to comment.