class GRM::Figure

Overview

Figure class for multiple plots

Defined in:

grm/figure.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(plot_id : Int32) #

External plot_id specification constructor


[View source]
def self.new #

[View source]

Instance Method Detail

def add_plot(&block : Plot -> Plot) #

[View source]
def add_plot(plot : Plot) #

[View source]
def clear #

[View source]
def plot_id : Int32 #

[View source]
def save(path : String) #

[View source]
def show #

[View source]
def title(text : String) #

Figure-level label setting methods


[View source]
def to_html(id : String | Nil = nil) : String #

Convenience methods


[View source]
def to_json : String #

[View source]
def xlabel(text : String) #

[View source]
def ylabel(text : String) #

[View source]