class Digiproc::Rbplot

Plotting API built on top of Gruff meant to have similar characterstics to matplotlib

Constants

BLUESCALE
MIDNIGHT
SUBMARINE

Public Class Methods

line(x = nil, y = nil, label="data") click to toggle source

Constuctor for a line plot instnace

x = Digiproc::Functions.linspace(1,100,100)
y = Digiproc::Probability.nrand(100)
plt = Digiproc::Rbplot.line(x, y, "random vals")
# File lib/rbplot.rb, line 56
def self.line(x = nil, y = nil, label="data")
    LinePlot.new(x, y, label)
end