I'm trying to plot sqrt(1-cos(x)**2) Obviously this function has value 0 at pi. However, gnuplot doesn't handle this correctly.
How can I get a proper graph of this function?
Thanks,
Harrie.
I'm trying to plot sqrt(1-cos(x)**2) Obviously this function has value 0 at pi. However, gnuplot doesn't handle this correctly.
How can I get a proper graph of this function?
Thanks,
Harrie.
I suggest reading `help set samples`. You could also have a look at prob.dem in the demos directory.
Thanks,
I found out that after setting the sampling rate to 1000, the function was plotted correctly.
Log in to post a comment.