Class: RubyPlot::LinePlotData
- Inherits:
-
Object
- Object
- RubyPlot::LinePlotData
- Defined in:
- lib/plot_lines.rb
Instance Attribute Summary collapse
-
#faint ⇒ Object
Returns the value of attribute faint.
-
#labels ⇒ Object
Returns the value of attribute labels.
-
#name ⇒ Object
Returns the value of attribute name.
-
#x_values ⇒ Object
Returns the value of attribute x_values.
-
#y_values ⇒ Object
Returns the value of attribute y_values.
Instance Method Summary collapse
-
#initialize(params) ⇒ LinePlotData
constructor
A new instance of LinePlotData.
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
#faint ⇒ Object
Returns the value of attribute faint.
12 13 14 |
# File 'lib/plot_lines.rb', line 12 def faint @faint end |
#labels ⇒ Object
Returns the value of attribute labels.
12 13 14 |
# File 'lib/plot_lines.rb', line 12 def labels @labels end |
#name ⇒ Object
Returns the value of attribute name.
12 13 14 |
# File 'lib/plot_lines.rb', line 12 def name @name end |
#x_values ⇒ Object
Returns the value of attribute x_values.
12 13 14 |
# File 'lib/plot_lines.rb', line 12 def x_values @x_values end |
#y_values ⇒ Object
Returns the value of attribute y_values.
12 13 14 |
# File 'lib/plot_lines.rb', line 12 def y_values @y_values end |