# P. Conrad, Fall 2005 sineWaveOneCycleZeroToOne.gnuplot # Generate a graphic of one cycle of a sine wave # ranging from zero to one on x axis # 110 cycle per unit time; # if one unit of time is one second, this is one "Hertz" set term png medium color set size 1.8,0.5 set samples 8000 set output "sineWave110Hz.png" set xrange [0:1]; set yrange [-2:2]; plot sin(110 * (2*pi) * x );