lib/rubyplot/backend/gr_wrapper.rb
def draw_x_axis(origin:, minor_ticks:, major_ticks:, minor_ticks_count:, major_ticks_count:)
        @axes_map[@active_axes.object_id] = {
          axes: @active_axes,
          x_minor_ticks: minor_ticks,
          x_origin: origin,
          x_major_ticks: major_ticks,
          x_major_ticks_count: major_ticks_count
        }
      end
# Draw X axis for the currently selected Axes.
#
# @param minor_ticks [[Rubyplot::Artist::XTick]] Array of XTick objects representing
#   minor ticks.
# @param origin [Numeric] X co-ordinate value that is the origin of the X axis.
# @param major_ticks [[Rubyplot::Artist::XTick]] Array of XTick objects representing
#  major ticks.
# @param major_ticks_count [Integer] Number of major ticks to plot.
Draw X axis for the currently selected Axes.
Draw X axis for the currently selected Axes .
def draw_x_axis(origin:, minor_ticks:, major_ticks:, minor_ticks_count:, major_ticks_count:)
        @axes_map[@active_axes.object_id] = {
          axes: @active_axes,
          x_minor_ticks: minor_ticks,
          x_origin: origin,
          x_major_ticks: major_ticks,
          x_major_ticks_count: major_ticks_count
        }
      end
def draw_x_axis ( origin : , minor_ticks : , major_ticks : , minor_ticks_count : , major_ticks_count : ) @axes_map [ @active_axes . object_id ] = { axes : @active_axes , x_minor_ticks : minor_ticks , x_origin : origin , x_major_ticks : major_ticks , x_major_ticks_count : major_ticks_count } end
Draw X axis for the currently selected Axes.
Draw X axis for the currently selected Axes .
origin
X co-ordinate value that is the origin of the X axis.
X co - ordinate value that is the origin of the X axis .
minor_ticks
] Array of XTick objects representing minor ticks.
] Array of XTick objects representing minor ticks .
major_ticks
] Array of XTick objects representing major ticks.
] Array of XTick objects representing major ticks .
minor_ticks_count
major_ticks_count
Number of major ticks to plot.
Number of major ticks to plot .