【发布时间】:2017-08-13 11:31:35
【问题描述】:
我在 gnuplot 上没有得到平滑的曲线。
这是我的代码:
set style line 3 lc rgb '#09ad00' lt 1 lw 1.5 #green
set style line 1 lc rgb '#0060ad' lt 1 lw 2 #blue
set style line 2 lc rgb '#dd181f' lt 1 lw 2 #red
plot [-1:1] f1(x) with line ls 3,f2(x) with line ls 1,f1(x)+f2(x) with line ls 2
我得到了这个情节
虽然我期待这种曲线
【问题讨论】:
-
添加一行
set samples 200
标签: gnuplot