Class: GnuplotRB::Splot

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

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

#datasets

Instance Method Summary collapse

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


13
14
15
16
# File 'lib/gnuplotrb/splot.rb', line 13

def initialize(*datasets, **options)
  super
  @cmd = 'splot '
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class GnuplotRB::Plottable