|
From: Thomas S. <t.s...@fz...> - 2012-09-24 14:38:46
|
Konstantin Lübeck <konze <at> konze.org> writes: > I would like to plot a function with a jump discontinuity. I've figured > out that I can use an if-then-else operator. Here is an example: > > gnuplot> f(x) = f(x) = (x<2) ? x**2 : 1 > > This works fine but I don't want a line between those functions. plot two functions: plot (x<2)?x**2:0/0 linetype 1, (x>=2)?1.:0/0 linetype 1 |