UnicodePlot::Plot
Constructors
new(graphics : GraphicsArea, *, title : String = "", xlabel : String = "", ylabel : String = "", zlabel : String = "", unicode_exponent : Bool = true, thousands_separator : Char = ' ', border : Symbol = :solid, compact_labels : Bool = false, compact : Bool = false, margin : Int32 = 3, padding : Int32 = 1, labels : Bool = true, colorbar : Bool = false, colorbar_border : Symbol = :solid, colorbar_lim : Tuple(Float64, Float64) = {0.0, 1.0}, colormap_callback : Proc(Float64, Float64, Float64, UInt32) | Nil = nil)
SourceInstance methods
autocolor
Sourceborder
Sourcecolormap
Sourcecolors_deco
Sourcecolors_left
Sourcecolors_right
Sourcecompact?
Sourcecompact_labels?
Sourcedecorations
Sourcegraphics
Sourcelabels?
Sourcelabels_left
Sourcelabels_right
Sourcelines!(xs : Array(Float64), ys : Array(Float64), segment_colors : Array(UInt32), blend : Bool) : self
Sourcelines!, points!, pixel! delegates to the canvas
margin
Sourcencols
Sourcenext_color!
Sourcenrows
Sourcepadding
Sourceseries
Sourcethousands_separator
Sourcetitle
SourceAppends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>
unicode_exponent?
Sourcexlabel
Sourceylabel
Sourcezlabel
Source