0
我试图用gnuplot在极坐标中绘制一些数据,然后绘制一条平滑线。gnuplot:极坐标中的平滑线
data.dat文件:
0 10 20 15 40 40 60 80 80 140 100 140 120 80 140 40 160 15 180 10
gnuplot的:
set polar set angle degrees set grid set grid polar plot "data.dat" smooth csplines
我希望gnuplot的绘制点之间的卵形曲线,但它吸引了奇怪的线从左至右忽略极坐标。你认为有什么解决办法吗?
谢谢你,贝塞尔看起来更好,但它比我的数据更小的曲线 – 2011-02-26 22:25:58
@paolo:我认为你不能做太多的工作:/我稍微更新了答案。 – Eelvex 2011-02-26 22:46:17
这是一个很好的技巧,现在看起来好多了,谢谢 – 2011-02-27 08:08:01