class

GRM::Plot

Inherits Reference / Object

Crystal-style Plot class for method chaining

Constructors

Instance methods

algorithm(value : String)
Source
barplot
Source
build_series_args

Build args for plotting (series only)

Source
color(color : String)
Source
color
Source
contour(m : Int32 | Nil = nil, n : Int32 | Nil = nil)
Source
contourf(m : Int32 | Nil = nil, n : Int32 | Nil = nil)
Source
data(x : Array(Number), y : Array(Number), z : Array(Number))
Source
data(x : Array(Number), y : Array(Number))
Source
data(x : Array(Number))

Data setting methods (chainable)

Source
data2d(x : Array(Number), y : Array(Number), z : Array(Array(Number)))

2D data helper for surface/contourf/heatmap/shade (z: rows x cols)

Source
data_image(c : Array(Array(Number)))
Source
data_volume(c : Array(Array(Array(Number))))
Source
data_z(z : Array(Array(Number)))
Source
heatmap(m : Int32 | Nil = nil, n : Int32 | Nil = nil)
Source
hexbin
Source
histogram(bins : Int32 = 50)
Source
imshow
Source
isosurface
Source
isovalue(value : Number)
Source
kind
Source
plot3
Source
polar
Source
polarhistogram
Source
render
Source
save(path : String)
Source
scatter

Plot type methods (chainable)

Source
scatter3
Source
shade(m : Int32 | Nil = nil, n : Int32 | Nil = nil)
Source
show

Rendering and output methods

Source
stairs
Source
stem
Source
surface(m : Int32 | Nil = nil, n : Int32 | Nil = nil)
Source
title(text : String)

Label methods (chainable)

Source
to_html(plot_id : String | Nil = nil) : String
Source
to_json
Source
volume
Source
xlabel(text : String)
Source
ylabel(text : String)
Source
zlabel(text : String)
Source