class

Cryplot::Draw

Inherits Cryplot::FilledCurveMixin / Cryplot::BaseMixin / Cryplot::FillMixin / Cryplot::BaseMixin / Cryplot::PointMixin / Cryplot::BaseMixin / Cryplot::LineMixin / Cryplot::BaseMixin / Reference / Object

class where options for the plotted elements can be specified

Constructors

new(what : String, using : String, with __arg0 : String)
Source

Instance methods

axes(spec : String)

Set the axes to use for this plot (e.g., "x1y1", "x1y2" for secondary y-axis).

Source
label(text : String)

Set the legend label of the plotted element.

Source
label_default

Set the legend label to be determined defmatically from the plot expression

Source
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.

Source
label_from_column_header

Set the legend label of the plotted element to be retrieved from the header of column.

Source
label_none

et the legend label of the plotted element to be ignored.

Source
palette_use

Enable palette-based coloring using a data column. This is used for scatter plots with color mapping.

Source
repr

returns a string representation of object of some class

Source
to_s(io : IO) : Nil

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>
Source
variable_point_size

Enable variable point size from a data column. This is used for scatter plots with size mapping.

Source
xtics(icol : Int32 | String)

Set the column in the data file containing the tic labels for x axis

Source
ytics(icol : Int32 | String)

Set the column in the data file containing the tic labels for y axis

Source