class Ishi::Gnuplot
- Ishi::Gnuplot
- Reference
- Object
Overview
Gnuplot rendering engine.
Requires "gnuplot" be installed and available.
Defined in:
ishi/gnuplot.crishi/html.cr
ishi/iterm2.cr
ishi/png.cr
ishi/text.cr
Constructors
-
.new(term : Term, prologue : Enumerable(String) = [] of String, epilogue : Enumerable(String) = [] of String)
Creates a new instance of the gnuplot engine.
Instance Method Summary
-
#run(commands : Enumerable(String))
Runs a "gnuplot" process and feeds it
commands
. -
#show(chart, rows, cols, **options)
Shows the charts.
-
#show(chart, **options)
Shows the chart.
Constructor Detail
def self.new(term : Term, prologue : Enumerable(String) = [] of String, epilogue : Enumerable(String) = [] of String)
#
Creates a new instance of the gnuplot engine.
Instance Method Detail
def run(commands : Enumerable(String))
#
Runs a "gnuplot" process and feeds it commands
.
Returns an IO
instance with the output.