class

Cryplot::AxisLabel

Inherits Cryplot::TextMixin / Cryplot::FontMixin / Cryplot::BaseMixin / Reference / Object

An axis label (e.g., xlabel, ylabel, etc.)

Constructors

new(axis : String)
Source

Instance methods

repr

returns a string representation of object of some class

Source
rotate_axis_parallel

Specify that the axis label should be rotated to be in parallel to the corresponding axis (for 3D plots).

Source
rotate_by(degrees : Int32)

specific that the axis label should be rotated by a given angle in degrees

Source
rotate_none

Specify that the axis label should not be rotated

Source
text(value : String)

set the text of the axis label

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