class
GRM::Plot
- GRM::Plot
- Reference
- Object
Overview
Crystal-style Plot class for method chaining
Defined in:
grm/plot.crConstructors
Instance Method Summary
- #algorithm(value : String)
- #barplot
-
#build_series_args : LibGRM::ArgsT
Build args for plotting (series only)
- #color(color : String)
- #color : String | Nil
- #contour(m : Int32 | Nil = nil, n : Int32 | Nil = nil)
- #contourf(m : Int32 | Nil = nil, n : Int32 | Nil = nil)
- #data(x : Array(Number), y : Array(Number), z : Array(Number))
- #data(x : Array(Number), y : Array(Number))
-
#data(x : Array(Number))
Data setting methods (chainable)
-
#data2d(x : Array(Number), y : Array(Number), z : Array(Array(Number)))
2D data helper for surface/contourf/heatmap/shade (z: rows x cols)
- #data_image(c : Array(Array(Number)))
- #data_volume(c : Array(Array(Array(Number))))
- #data_z(z : Array(Array(Number)))
- #heatmap(m : Int32 | Nil = nil, n : Int32 | Nil = nil)
- #hexbin
- #histogram(bins : Int32 = 50)
- #imshow
- #isosurface
- #isovalue(value : Number)
- #kind : String | Nil
- #plot3
- #polar
- #polarhistogram
- #render
- #save(path : String)
-
#scatter
Plot type methods (chainable)
- #scatter3
- #shade(m : Int32 | Nil = nil, n : Int32 | Nil = nil)
-
#show
Rendering and output methods
- #stairs
- #stem
- #surface(m : Int32 | Nil = nil, n : Int32 | Nil = nil)
-
#title(text : String)
Label methods (chainable)
- #to_html(plot_id : String | Nil = nil) : String
- #to_json : String
- #volume
- #xlabel(text : String)
- #ylabel(text : String)
- #zlabel(text : String)
Constructor Detail
Instance Method Detail
def data2d(x : Array(Number), y : Array(Number), z : Array(Array(Number)))
#
2D data helper for surface/contourf/heatmap/shade (z: rows x cols)