I am trying to plot a function that contains discontinuities in gnuplot. As a result, gnuplot automatically draws a vertical line connecting the jump discontinuities. I would like to remove this line. I have looked around and found two solutions, none of which worked: One solution was to use smooth unique when plotting, and the other one was to define the function in a conditional form and remove the discontinuity manually. The first solution simply did not make any changes to the plot (at least visually). The second solution seemed to move the location of the jump discontinuity to left or right, not get rid of the vertical line. Please note that I would like to plot with lines. I know with points works, but I do not wish to plot with points.
set sample 10000
N=50
l1(x)=2*cosh(1/x)
l2(x)=2*sinh(1/x)
Z(x)=l1(x)**N+l2(x)**N
e(x)=(-1/Z(x))*(l2(x)*l1(x)**(N-1)+l1(x)*l2(x)**(N-1))
plot e(x)





with pointsand it looks fine. However, this is an analytical curve that I want to superimpose on Monte Carlo data points; thus, I would like it to bewith lines. I tried the conditional solution with lines and I still get the same plot :/ - Ptheguy(abs(e(x)) < 0.999999999999999 ? e(x) : 1/0) w linesit works fine. But there are so many 9s!! Perhaps there's a better solution? - Ptheguy