module

Ishi

Graph plotting package with a small API powered by gnuplot.

See Base for documentation on supported methods.

Constructors

new(io : IO = STDOUT)

Creates a new instance. An IO for output may be specified.

ishi = Ishi.new
ishi.plot([1, 2, 3, 4])
ishi.show
Source
new(io : IO = STDOUT, **options, &)

Creates a new instance.

Yields to the supplied block with the new instance as the implicit receiver. Automatically invokes #show before returning. An IO for output may be specified. Any options are passed to #show.

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

Nested types