module GRM

Extended Modules

Defined in:

grm.cr
grm/figure.cr
grm/libgrm.cr
grm/plot.cr

Constant Summary

ERROR_MUTEX = Mutex.new

Class Method Summary

Instance Method Summary

Class Method Detail

def self.with_args(&block : LibGRM::ArgsT -> Void) #

[View source]

Instance Method Detail

def args_delete(*args) #

[View source]
def args_new #

Low-level LibGRM wrappers


[View source]
def args_push(*args) #

[View source]
def barplot(x : Array(Number), y : Array(Number), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil, color : String | Nil = nil) #

[View source]
def check_error!(context : String | Nil = nil) #

[View source]
def clear #

[View source]
def contour(x : Array(Number), y : Array(Number), z : Array(Array(Number)), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil) #

[View source]
def contourf(x : Array(Number), y : Array(Number), z : Array(Array(Number)), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil) #

[View source]
def dump_html(*args) #

[View source]
def dump_json_str #

[View source]
def export(*args) #

[View source]
def finalize #

[View source]
def heatmap(x : Array(Number), y : Array(Number), z : Array(Array(Number)), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil) #

[View source]
def hexbin(x : Array(Number), y : Array(Number), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil, color : String | Nil = nil) #

[View source]
def histogram(data : Array(Number), bins : Int32 = 50, title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil, color : String | Nil = nil) #

[View source]
def imshow(z : Array(Array(Number)), title : String | Nil = nil) #

[View source]
def isosurface(c : Array(Array(Array(Number))), isovalue : Number | Nil = nil, title : String | Nil = nil) #

[View source]
def max_plot_id #

[View source]
def merge(args : Args) #

[View source]
def merge_extended(args : Args, hold : Int32, identificator : String) #

[View source]
def merge_extended(args : Args, hold : Int32 = 0) #

[View source]
def merge_hold(args : Args) #

[View source]
def merge_named(args : Args, identificator : String) #

[View source]
def plot(x : Array(Number), y : Array(Number), z : Array(Number) | Nil = nil, kind : String = "line", title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil, zlabel : String | Nil = nil, color : String | Nil = nil) #

High-level convenience helpers (Plot-based)


[View source]
def plot(args : Args) #

Low-level plot entrypoints


[View source]
def plot(args : LibGRM::ArgsT) #

[View source]
def plot3(x : Array(Number), y : Array(Number), z : Array(Number), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil, zlabel : String | Nil = nil, color : String | Nil = nil) #

[View source]
def polar(theta : Array(Number), r : Array(Number), title : String | Nil = nil, color : String | Nil = nil) #

[View source]
def polarhistogram(theta : Array(Number), title : String | Nil = nil, color : String | Nil = nil) #

[View source]
def render #

[View source]
def scatter(x : Array(Number), y : Array(Number), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil, color : String | Nil = nil) #

[View source]
def scatter3(x : Array(Number), y : Array(Number), z : Array(Number), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil, zlabel : String | Nil = nil, color : String | Nil = nil) #

[View source]
def shade(x : Array(Number), y : Array(Number), z : Array(Array(Number)), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil) #

[View source]
def stairs(x : Array(Number), y : Array(Number), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil, color : String | Nil = nil) #

[View source]
def stem(x : Array(Number), y : Array(Number), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil, color : String | Nil = nil) #

[View source]
def surface(x : Array(Number), y : Array(Number), z : Array(Array(Number)), title : String | Nil = nil, xlabel : String | Nil = nil, ylabel : String | Nil = nil, zlabel : String | Nil = nil) #

[View source]
def switch(*args) #

[View source]
def volume(c : Array(Array(Array(Number))), algorithm : String | Nil = nil, title : String | Nil = nil) #

[View source]
def with_error_check(context : String | Nil = nil, &) #

[View source]