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?
I suggest reading `help set samples`. You could also have a look at prob.dem in the demos directory.
I found out that after setting the sampling rate to 1000, the function was plotted correctly.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.