Gnuplot 在大范围内的正弦曲线
The sine curve with Gnuplot on a large range
当我将 x 范围调整为 [0:200] 时,Gnuplot 似乎绘制了一条非常奇怪的正弦曲线。这是代码:
gnuplot> set xrange [0:200]
gnuplot> plot sin(x)
这就是 Gnuplot returns :
如何让它绘制出正确的曲线?
使用set samples 10000
增加x轴的分辨率。
当我将 x 范围调整为 [0:200] 时,Gnuplot 似乎绘制了一条非常奇怪的正弦曲线。这是代码:
gnuplot> set xrange [0:200]
gnuplot> plot sin(x)
这就是 Gnuplot returns :
如何让它绘制出正确的曲线?
使用set samples 10000
增加x轴的分辨率。