Hot answers tagged

1

This is straight out of the gnuplot documentation ("help ternary"): f(x) = (x>=0 && x <=a)?x:-2 After setting a value for a, you will be able to plot this function over any range you want.



Only top voted, non community-wiki answers of a minimum length are eligible