class Cryplot::Draw
- Cryplot::Draw
- Reference
- Object
Overview
class where options for the plotted elements can be specified
Included Modules
- Cryplot::FilledCurveMixin(Cryplot::Draw)
- Cryplot::FillMixin(Cryplot::Draw)
- Cryplot::LineMixin(Cryplot::Draw)
- Cryplot::PointMixin(Cryplot::Draw)
Defined in:
plot/elems/draw.crConstructors
Instance Method Summary
-
#label(text : String)
Set the legend label of the plotted element.
-
#label_default
Set the legend label to be determined defmatically from the plot expression
-
#label_from_column_header(index : Int32)
Set the legend label of the plotted element to be retrieved from the header of a column with given index.
-
#label_from_column_header
Set the legend label of the plotted element to be retrieved from the header of column.
-
#label_none
et the legend label of the plotted element to be ignored.
-
#repr : String
returns a string representation of object of some class
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
-
#xtics(icol : Int32 | String)
Set the column in the data file containing the tic labels for x axis
-
#ytics(icol : Int32 | String)
Set the column in the data file containing the tic labels for y axis
Instance methods inherited from module Cryplot::FilledCurveMixin(Cryplot::Draw)
above
above,
below
below,
filled_curve_repr
filled_curve_repr
Instance methods inherited from module Cryplot::BaseMixin(Cryplot::Draw)
derived : T
derived,
repr : String
repr,
to_s(io : IO) : Nil
to_s
Instance methods inherited from module Cryplot::FillMixin(Cryplot::Draw)
border_hide
border_hide,
border_line_color(color : String)
border_line_color,
border_line_width(value : Int32)
border_line_width,
border_show(show = true)
border_show,
fill_color(color : String)
fill_color,
fill_empty
fill_empty,
fill_intensity(value : Float64)
fill_intensity,
fill_pattern(num : Int32)
fill_pattern,
fill_repr
fill_repr,
fill_solid
fill_solid,
fill_transparent(active = true)
fill_transparent
Instance methods inherited from module Cryplot::BaseMixin(Cryplot::Draw)
derived : T
derived,
repr : String
repr,
to_s(io : IO) : Nil
to_s
Instance methods inherited from module Cryplot::PointMixin(Cryplot::Draw)
point_repr
point_repr,
point_size(value : Int32)
point_size,
point_type(value : Int32)
point_type
Instance methods inherited from module Cryplot::BaseMixin(Cryplot::Draw)
derived : T
derived,
repr : String
repr,
to_s(io : IO) : Nil
to_s
Instance methods inherited from module Cryplot::LineMixin(Cryplot::Draw)
dash_type(val : Int32)
dash_type,
line_color(color : String)
line_color,
line_repr : String
line_repr,
line_style(val : Int32)
line_style,
line_type(val : Int32)
line_type,
line_width(val : Int32)
line_width
Instance methods inherited from module Cryplot::BaseMixin(Cryplot::Draw)
derived : T
derived,
repr : String
repr,
to_s(io : IO) : Nil
to_s
Constructor Detail
Instance Method Detail
Set the legend label of the plotted element to be retrieved from the header of a column with given index.
Set the legend label of the plotted element to be retrieved from the header of column.
returns a string representation of object of some class
Appends 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>
Set the column in the data file containing the tic labels for x axis
Set the column in the data file containing the tic labels for y axis