class AquaPlot::Plot(T)

Defined in:

plot/plot2d.cr

Constructors

Instance Method Summary

Instance methods inherited from class AquaPlot::PlotBase(T)

close close, figures : Array(T) figures, figures=(figures : Array(T)) figures=, savefig(fname : String, terminal : String = "png") savefig, show show

Constructor methods inherited from class AquaPlot::PlotBase(T)

new(figures : Array(T), **options)
new(figure : T, **options)
new

Instance methods inherited from class AquaPlot::GlobalPlotOptions

border : String border, border=(border : String) border=, boxwidth : String boxwidth, boxwidth=(boxwidth : String) boxwidth=, get_axis_tics get_axis_tics, get_border get_border, get_boxwidth get_boxwidth, get_data get_data, get_grid get_grid, get_key get_key, get_offsets get_offsets, get_output get_output, get_samples get_samples, get_terminal get_terminal, get_tics get_tics, get_ticslevel get_ticslevel, get_time get_time, get_title get_title, get_xlabel get_xlabel, get_xrange get_xrange, get_ylabel get_ylabel, get_yrange get_yrange, grid : Bool grid, grid=(grid : Bool) grid=, key : String key, key=(key : String) key=, offsets : AquaPlot::Util::Offset offsets, offsets=(offsets : AquaPlot::Util::Offset) offsets=, output : String output, output=(output : String) output=, samples : Int32 samples, samples=(samples : Int32) samples=, scale : AquaPlot::Util::XY scale, scale=(scale : AquaPlot::Util::XY) scale=, set_axis_ticks(axis, options) set_axis_ticks, set_border(border : String) set_border, set_boxwidth(boxwidth : String) set_boxwidth, set_data(data : String) set_data, set_grid(grid : Bool) set_grid, set_key(key : String) set_key, set_offsets(left = 0, right = 0, top = 0, bottom = 0) set_offsets, set_output(output : String) set_output, set_samples(samples : Int32) set_samples, set_terminal(terminal : String) set_terminal, set_tics(tics : String) set_tics, set_ticslevel(ticslevel : String) set_ticslevel, set_time(time : Bool) set_time, set_title_color(*args, **options)
set_title_color(*args, **options, &)
set_title_color
, set_title_enhanced(*args, **options)
set_title_enhanced(*args, **options, &)
set_title_enhanced
, set_title_font(*args, **options)
set_title_font(*args, **options, &)
set_title_font
, set_title_linetype(*args, **options)
set_title_linetype(*args, **options, &)
set_title_linetype
, set_title_offset(*args, **options)
set_title_offset(*args, **options, &)
set_title_offset
, set_title_text(*args, **options)
set_title_text(*args, **options, &)
set_title_text
, set_xlabel(xlabel : String) set_xlabel, set_xrange(x, y) set_xrange, set_ylabel(ylabel : String) set_ylabel, set_yrange(x, y) set_yrange, terminal : String terminal, terminal=(terminal : String) terminal=, ticks_hash : Hash(String, String) ticks_hash, ticks_hash=(ticks_hash : Hash(String, String)) ticks_hash=, tics : String tics, tics=(tics : String) tics=, ticslevel : String ticslevel, ticslevel=(ticslevel : String) ticslevel=, time : Bool time, time=(time : Bool) time=, title : AquaPlot::Util::Title title, title=(title : AquaPlot::Util::Title) title=, to_s to_s, xlabel : String xlabel, xlabel=(xlabel : String) xlabel=, xrange : AquaPlot::Util::XY xrange, xrange=(xrange : AquaPlot::Util::XY) xrange=, ylabel : String ylabel, ylabel=(ylabel : String) ylabel=, yrange : AquaPlot::Util::XY yrange, yrange=(yrange : AquaPlot::Util::XY) yrange=

Constructor methods inherited from class AquaPlot::GlobalPlotOptions

new(border : String = "", boxwidth : String = "0.6 relative", data : String = "histograms", grid : Bool = true, key : String = "", offsets : AquaPlot::Util::Offset = AquaPlot::Util::Offset.new, output : String = "", samples : Int32 = 500, scale : AquaPlot::Util::XY = AquaPlot::Util::XY.new, terminal : String = "qt", tics : String = "", ticslevel : String = "", time : Bool = false, title = AquaPlot::Util::Title.new, xlabel : String = "", xrange : AquaPlot::Util::XY = AquaPlot::Util::XY.new, ylabel : String = "", yrange : AquaPlot::Util::XY = AquaPlot::Util::XY.new) new

Instance methods inherited from class AquaPlot::DataSet

cleanup : Bool cleanup, cleanup=(cleanup : Bool) cleanup=, filename : String filename, filename=(filename : String) filename=, finalize finalize, get_filename get_filename, get_title get_title, set_title(text) set_title, title : AquaPlot::Util::Title title, title=(title : AquaPlot::Util::Title) title=

Constructor methods inherited from class AquaPlot::DataSet

new(title = nil) new

Constructor Detail

def self.new(figures : Array(T), **options) #

[View source]
def self.new(figure : T, **options) #

[View source]

Instance Method Detail

def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]