class Ishi::Gnuplot

Overview

Gnuplot rendering engine.

Requires "gnuplot" be installed and available.

Defined in:

ishi/gnuplot.cr
ishi/html.cr
ishi/iterm2.cr
ishi/png.cr
ishi/text.cr

Constructors

Instance Method Summary

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.


[View source]

Instance Method Detail

def run(commands : Enumerable(String)) #

Runs a "gnuplot" process and feeds it commands.

Returns an IO instance with the output.


[View source]
def show(chart, rows, cols, **options) #

Shows the charts.


[View source]
def show(chart, **options) #

Shows the chart.


[View source]