Module: Nyaplot::Diagrams3D::MatrixType

Includes:
Jsonizable
Included in:
ArrayType, Surface, Wireframe
Defined in:
lib/nyaplot3d/diagram.rb

Instance Method Summary collapse

Methods included from Jsonizable

#before_to_json, #get_property, included, #init_properties, #set_property, #to_json

Instance Method Details

#process_data(df, labels) ⇒ Object



36
37
38
39
40
# File 'lib/nyaplot3d/diagram.rb', line 36

def process_data(df, labels)
  self.x(labels[0])
  self.y(labels[1])
  self.z(labels[2])
end