Reputation: 46
Im trying to plot a graph in gnu plot using this command
plot 'temp.txt' using 1:3 title 'humidity' with lines smooth csplines,
'temp.txt' using 1:2 title'temprature' with lines smooth splines
but the curves are not smooth enough as you can see in the image
I want the curves to be more smooth by interpolating the existing data.
Upvotes: 0
Views: 813
Reputation: 15093
"smooth kdensity" will get you smoother curves, but it won't be from interpolation. The curves will not go exactly through any of the points.
Upvotes: 1
Reputation: 7627
Your data sampling is probably higher than your csplines sampling. Try set samples 1000
before the plot
command.
Upvotes: 0