abstract class Ishi::Term

Overview

Terminal interface.

Direct Known Subclasses

Defined in:

ishi/term.cr

Constructors

Instance Method Summary

Instance methods inherited from class Ishi::Base

boxwidth(boxwidth : Float64) boxwidth, canvas_size(width : Int32, height : Int32)
canvas_size(width : Float64, height : Float64)
canvas_size
, charts(rows : Int32, cols : Int32)
charts(rows : Int32, cols : Int32, &)
charts
, imshow(data : Indexable(Indexable(D)), **options) forall D imshow, margin(left : Int32 | Bool = false, right : Int32 | Bool = false, top : Int32 | Bool = false, bottom : Int32 | Bool = false)
margin(left : Float64 | Bool = false, right : Float64 | Bool = false, top : Float64 | Bool = false, bottom : Float64 | Bool = false)
margin
, palette(name : Symbol, colorbox : Bool = true) palette, plot(xdata : Indexable(T), ydata : Indexable(U), zdata : Indexable(V), format : String? = nil, *, title : String? = nil, style : Symbol = :points, **options) forall T, U, V
plot(ydata : Indexable(Y), format : String? = nil, *, title : String? = nil, style : Symbol = :lines, **options) forall Y
plot(xdata : Indexable(M), ydata : Indexable(N), format : String? = nil, *, title : String? = nil, style : Symbol = :points, **options) forall M, N
plot(expression : String, format : String? = nil, *, title : String? = nil, style : Symbol? = nil, **options)
plot
, scatter(xdata : Indexable(M), ydata : Indexable(N), format : String? = nil, *, title : String? = nil, style : Symbol = :dots, **options) forall M, N
scatter(xdata : Indexable(T), ydata : Indexable(U), zdata : Indexable(V), format : String? = nil, *, title : String? = nil, style : Symbol = :dots, **options) forall T, U, V
scatter
, show(**options) show, show_border(show : Bool) show_border, show_colorbox(show : Bool) show_colorbox, show_key(show : Bool) show_key, show_xtics(show : Bool) show_xtics, show_ytics(show : Bool) show_ytics, size size, view(xrot : Float64, zrot : Float64)
view(xrot : Int32, zrot : Int32)
view
, xlabel(xlabel : String) xlabel, xrange(xrange : Range(Float64, Float64) | Range(Int32, Int32)) xrange, xtics(xtics : Hash(Float64, String)) xtics, ylabel(ylabel : String) ylabel, yrange(yrange : Range(Float64, Float64) | Range(Int32, Int32)) yrange, zlabel(zlabel : String) zlabel, zrange(zrange : Range(Float64, Float64) | Range(Int32, Int32)) zrange

Constructor Detail

def self.new(term : String, io : IO = STDOUT) #

[View source]

Instance Method Detail

def show(**options) #
Description copied from class Ishi::Base

Shows the chart(s).


[View source]