Sha256: 8fb8681f731d2a6b2ecfa5528be5fb17857e035bb96c0856025474756d67d265
Contents?: true
Size: 267 Bytes
Versions: 22
Compression:
Stored size: 267 Bytes
Contents
#!/usr/bin/env ruby require("gsl") x = GSL::Vector.linspace(0, 3, 100) y1 = GSL::Ran::lognormal_pdf(x, 0, 1) y2 = GSL::Ran::lognormal_pdf(x, 1, 1) GSL::graph(x, y1, y2, "-T X -g 3 -C -X x -Y 'p(x)' -L 'Lognormal distribution, zeta=0,1, s=1' --toggle-rotate-y-label")
Version data entries
22 entries across 22 versions & 4 rubygems