class Ishi::Base
- Ishi::Base
- Reference
- Object
Direct Known Subclasses
Defined in:
ishi.crInstance Method Summary
-
#plot(xdata : Indexable(T), ydata : Indexable(U), zdata : Indexable(V), format : String | Nil = nil, *, title : String | Nil = nil, style : Symbol = :points, **options) forall T, U, V
Plots
x,yandz. -
#plot(ydata : Indexable(Y), format : String | Nil = nil, *, title : String | Nil = nil, style : Symbol = :lines, **options) forall Y
Plots
yusingxranging from0toN-1. -
#plot(xdata : Indexable(M), ydata : Indexable(N), format : String | Nil = nil, *, title : String | Nil = nil, style : Symbol = :lines, **options) forall M, N
Plots
xandy. -
#plot(expression : String, format : String | Nil = nil, *, title : String | Nil = nil, style : Symbol | Nil = nil, **options)
Plots a mathematical expression.
-
#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 x, y and z.
title is the title of the plot. style is the drawing
style. Supported styles include :surface, :circles,
:lines, :points and :dots.
Plots y using x ranging from 0 to N-1.
title is the title of the plot. style is the drawing
style. Supported styles include :boxes, :lines, :points,
:linespoints and :dots.
Plots x and y.
title is the title of the plot. style is the drawing
style. Supported styles include :boxes, :lines, :points,
:linespoints and :dots.
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 styles include :lines and :points.