Class: Plot

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

Instance Method Summary collapse

Instance Method Details

#call_helper(csv_file_path) ⇒ Object



2
3
4
5
6
# File 'lib/myer/plot.rb', line 2

def call_helper(csv_file_path)
  plot_helper = File.expand_path( "../../../scripts/plot-helper.py", __FILE__ )
  cmd = "python #{plot_helper} #{csv_file_path}"
  system(cmd)
end

#show(csv_file) ⇒ Object



8
9
10
# File 'lib/myer/plot.rb', line 8

def show(csv_file)
  call_helper(csv_file)
end