Class: Gnuplot::SPlot

Inherits:
Plot
  • Object
show all
Defined in:
lib/gnuplot.rb

Overview

Analogous to Plot class, holds command information and performs the formatting of that command information to a Gnuplot process. Should be used when for drawing 3D plots.

Constant Summary

Constants inherited from Plot

Plot::QUOTED

Instance Attribute Summary

Attributes inherited from Plot

#arbitrary_lines, #cmd, #data, #settings

Instance Method Summary collapse

Methods inherited from Plot

#[], #add_data, #method_missing, #set, #store_datasets, #unset

Constructor Details

#initialize(io = nil, cmd = "splot") ⇒ SPlot

Returns a new instance of SPlot.



183
184
185
# File 'lib/gnuplot.rb', line 183

def initialize (io = nil, cmd = "splot")
  super
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Gnuplot::Plot

Instance Method Details

#to_gplot(io = "") ⇒ Object

Currently using the implementation from parent class Plot. Leaving the method explicit here, though, as to allow an specific implementation for SPlot in the future.



190
191
192
# File 'lib/gnuplot.rb', line 190

def to_gplot (io = "")
  super
end