Method: Tk::Tcllib::Plotchart::Plot3D#plot_data

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

#plot_data(dat) ⇒ Object



739
740
741
742
743
744
745
746
# File 'lib/tkextlib/tcllib/plotchart.rb', line 739

def plot_data(dat)
  # 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, 'plotdata', dat)
  self
end