Method: Tk::Tcllib::Plotchart::Plot3D#plot_line

Defined in:
lib/tkextlib/tcllib/plotchart.rb

#plot_line(dat, color) ⇒ Object



730
731
732
733
734
735
736
737
# File 'lib/tkextlib/tcllib/plotchart.rb', line 730

def plot_line(dat, color)
  # dat has to be provided as a 2 level array.
  # 1st level contains rows, drawn in y-direction,
  # and each row is an array whose elements are drawn in x-direction,
  # for the columns.
  tk_call_without_enc(@chart, 'plotline', dat, color)
  self
end