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/text.cr
Constructors
-
.new(prologue : Enumerable(String) = [] of String, epilogue : Enumerable(String) = ["exit"])
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)
Shows the chart.
- #show(chart, **options)
Constructor Detail
def self.new(prologue : Enumerable(String) = [] of String, epilogue : Enumerable(String) = ["exit"])
#
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.