lib/rubyplot/artist/axes.rb
# Figure out the co-ordinates of the title text w.r.t Axes.
Figure out the co-ordinates of the title text w.r.t Axes.
Figure out the co - ordinates of the title text w . r . t Axes .
def configure_title
        @texts << Rubyplot::Artist::Text.new(
          @title, self,
          abs_x: abs_x + width / 2, abs_y: abs_y + height,
          font: @font, color: @font_color,
          size: @title_font_size, internal_label: 'axes title.')
      end
def configure_title @texts << Rubyplot :: Artist :: Text . new ( @title , self , abs_x : abs_x + width / 2 , abs_y : abs_y + height , font : @font , color : @font_color , size : @title_font_size , internal_label : 'axes title.' ) end
Figure out the co-ordinates of the title text w.r.t Axes.
Figure out the co - ordinates of the title text w . r . t Axes .