#!/usr/bin/env ruby
require("gsl")

y1 = Vector[0.2, 3, 2, 0.4, 0, 4, 0]
y1.graph

x = Vector.linspace(0, 10, 50)
y2 = Sf::bessel_J0(x)
y2.graph(x)

Vector.graph([nil, y1], [x, y2])
