Method: Rust::Plots::BasePlot#x_range

Defined in:
lib/rust/plots/core.rb

#x_range(range) ⇒ Object Also known as: xlim

Sets the limits for the x-axis.



54
55
56
57
58
# File 'lib/rust/plots/core.rb', line 54

def x_range(range)
    @options['xlim'] = range
    
    return self
end