def add(type, *data)
      df = DataFrame.new({x: data[0], y: data[1], z: data[2]})
      return add_with_df(df, type, :x, :y, :z)
    end
def add(type, *data)
      df = DataFrame.new({x: data[0], y: data[1], z: data[2]})
      return add_with_df(df, type, :x, :y, :z)
    end
Add diagram with Array
 @param [Symbol] type the type of diagram to add
 @param [Array<Array>] *data array from which diagram is created
 @example
    plot.add(:surface, [0,1,2], [0,1,2], [0,1,2])