Class: RubyPlot::LinePlotData

Inherits:
Object
  • Object
show all
Defined in:
lib/plot_lines.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ LinePlotData

Returns a new instance of LinePlotData.



13
14
15
# File 'lib/plot_lines.rb', line 13

def initialize(params)
  params.each{|k,v| send((k.to_s+"=").to_sym,v)}
end

Instance Attribute Details

#faintObject

Returns the value of attribute faint.



12
13
14
# File 'lib/plot_lines.rb', line 12

def faint
  @faint
end

#labelsObject

Returns the value of attribute labels.



12
13
14
# File 'lib/plot_lines.rb', line 12

def labels
  @labels
end

#nameObject

Returns the value of attribute name.



12
13
14
# File 'lib/plot_lines.rb', line 12

def name
  @name
end

#x_valuesObject

Returns the value of attribute x_values.



12
13
14
# File 'lib/plot_lines.rb', line 12

def x_values
  @x_values
end

#y_valuesObject

Returns the value of attribute y_values.



12
13
14
# File 'lib/plot_lines.rb', line 12

def y_values
  @y_values
end