Method: Plotty::Graph.parse

Defined in:
lib/plotty/graph.rb

.parse(x, y, commands) ⇒ Object



97
98
99
100
101
102
# File 'lib/plotty/graph.rb', line 97

def self.parse(x, y, commands)
	self.new(
		Sequence.parse(x),
		commands.collect{|command| Function.new(y, command)},
	)
end