module Ishi

Overview

Graph plotting package with a small API powered by gnuplot.

See Base for documentation on supported methods.

Defined in:

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

Constructors

Constructor Detail

def self.new #

Creates a new instance.

ishi = Ishi.new
ishi.plot([1, 2, 3, 4])
ishi.show

[View source]
def self.new(**options, &) #

Creates a new instance.

Yields to the supplied block with the new instance as the implicit receiver. Automatically invokes #show before returning. Any options are passed to #show.

Ishi.new do
  plot([1, 2, 3, 4])
end

[View source]