class Ishi::Base
- Ishi::Base
- Reference
- Object
Direct Known Subclasses
Defined in:
ishi.crInstance Method Summary
-
#plot(ydata : Indexable(Y), title : String | Nil = nil, style : Symbol = :lines) forall Y
Plots
yusingxranging from0toN-1. -
#plot(expression : String, title : String | Nil = nil, style : Symbol | Nil = nil)
Plots a mathematical expression.
-
#plot(xdata : Indexable(X), ydata : Indexable(Y), title : String | Nil = nil, style : Symbol = :lines) forall X, Y
Plots
xandy. -
#plot(xdata : Indexable(X), ydata : Indexable(Y), zdata : Indexable(Z), title : String | Nil = nil, style : Symbol = :points) forall X, Y, Z
Plots
x,yandz. -
#show(**options)
Shows the chart.
-
#xlabel(xlabel : String)
Sets the label of the
xaxis. -
#xrange(xrange : Range(Float64, Float64) | Range(Int32, Int32))
Sets the range of the
xaxis. -
#ylabel(ylabel : String)
Sets the label of the
yaxis. -
#yrange(yrange : Range(Float64, Float64) | Range(Int32, Int32))
Sets the range of the
yaxis. -
#zlabel(zlabel : String)
Sets the label of the
zaxis. -
#zrange(zrange : Range(Float64, Float64) | Range(Int32, Int32))
Sets the range of the
zaxis.
Instance Method Detail
Plots y using x ranging from 0 to N-1.
title is the title of the plot. style is the drawing
style. Supported values include :boxes, :lines and
:points.
Plots a mathematical expression.
plot("sin(x) * cos(x)")
plot("3.5 * x + 1.5")
For information on gnuplot mathematical expressions, see: Expressions.
title is the title of the plot. style is the drawing
style. Supported values include :lines and :points.
Plots x and y.
title is the title of the plot. style is the drawing
style. Supported values include :boxes, :lines and
:points.
Plots x, y and z.
title is the title of the plot. style is the drawing
style. Supported values include :boxes, :lines and
:points.