gnuplot で周期関数を描く
周期を として とすればよい.
gnuplot> T = 2 gnuplot> plot [-2:2] (2/pi)*atan(tan(pi*x/T)) title "f(x)" gnuplot> replot ((2/pi)*atan(tan(pi*x/T)))**2 title "g(x)"
周期を として とすればよい.
gnuplot> T = 2 gnuplot> plot [-2:2] (2/pi)*atan(tan(pi*x/T)) title "f(x)" gnuplot> replot ((2/pi)*atan(tan(pi*x/T)))**2 title "g(x)"