Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add smooth option

  • Loading branch information...
commit 418526c05501b0a75679eb4ab05be0fef1a65fe6 1 parent 670b60e
cheetah authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  lib/gnuplot.rb
3  lib/gnuplot.rb
@@ -189,7 +189,7 @@ def to_gplot (io = "")
189 189 # @todo Use the delegator to delegate to the data property.
190 190
191 191 class DataSet
192   - attr_accessor :title, :with, :using, :data, :linewidth, :matrix
  192 + attr_accessor :title, :with, :using, :data, :linewidth, :matrix, :smooth
193 193
194 194 def initialize (data = nil)
195 195 @data = data
@@ -216,6 +216,7 @@ def plot_args (io = "")
216 216
217 217 io << " matrix" if @matrix
218 218 io << " with #{@with}" if @with
  219 + io << " smooth #{@smooth}" if @smooth
219 220 io << " linewidth #{@linewidth}" if @linewidth
220 221 io
221 222 end

0 comments on commit 418526c

Please sign in to comment.
Something went wrong with that request. Please try again.