Module: Graph::Function::PlotConfig
- Included in:
- Comparison, IntsComparison, Only
- Defined in:
- lib/graph/function/plot_config.rb
Instance Method Summary collapse
Instance Method Details
#set_up(plot) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/graph/function/plot_config.rb', line 4 def set_up(plot) plot.ylabel 'execution time' plot.xlabel 'input size' plot.terminal (t = Graph::Function.configuration.terminal) plot.output Graph::Function.configuration.output unless t == 'x11' end |