require 'java'
java_import Java::jhplot.HPlot
java_import Java::jhplot.F1D
c1=HPlot.new()
c1.setGTitle("F_{2}^{c#bar{c}}")
c1.visible()
c1.setAutoRange()
f1 = F1D.new("2*exp(-x*x/50)+sin(pi*x)/x", 1.0, 10.0)
c1.draw(f1)
Ads help maintain this website.