Sha256: 416d0dd7ca25353056843899d012cd12c1a2b0eac8a711510f1abda556aebb30
Contents?: true
Size: 244 Bytes
Versions: 22
Compression:
Stored size: 244 Bytes
Contents
#!/usr/bin/env ruby require("gsl") x = GSL::Vector.linspace(-4, 4, 100) y1 = GSL::Ran::tdist_pdf(x, 1) y2 = GSL::Ran::tdist_pdf(x, 5) GSL::graph(x, y1, y2, "-T X -C -g 3 -X x -Y 'p(x)' -L 'Student t distribution, n=1' --toggle-rotate-y-label")
Version data entries
22 entries across 22 versions & 4 rubygems