Class: GnuplotRB::Splot
Overview
Splot class correspond to simple 3D visualisation. Most of Plot’s docs are right for Splot too.
Examples of usage are in a notebook
Instance Attribute Summary
Attributes inherited from Plot
Instance Method Summary collapse
-
#initialize(*datasets, **options) ⇒ Splot
constructor
A new instance of Splot.
Methods inherited from Plot
#[], #add_datasets, #add_datasets!, #plot, #remove_dataset, #remove_dataset!, #replace_dataset, #replace_dataset!, #update_dataset, #update_dataset!
Methods included from Plottable
#method_missing, #option_name, #option_name!, #own_terminal, #plot, #respond_to?, #title, #title!, #to_canvas, #to_gif, #to_iruby, #to_png, #to_specific_term, #to_svg, #xrange, #xrange!, #yrange, #yrange!
Methods included from OptionHandling
#new_with_options, option_to_string, #options, #options!, ruby_class_to_gnuplot, string_key, valid_terminal?, validate_terminal_options
Constructor Details
#initialize(*datasets, **options) ⇒ Splot
Returns a new instance of Splot.
13 14 15 16 |
# File 'lib/gnuplotrb/splot.rb', line 13 def initialize(*datasets, **) super @cmd = 'splot ' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GnuplotRB::Plottable