|
From: <HBB...@t-...> - 2007-02-26 20:27:32
|
murat selim Xepni wrote: > a,b,c and d may be coordinat values along the x axis. > f(x) polynom's graphic between a and b (xrange[a,b]), > g(x) polynom's graphic between b and c > (xrange[b,c]),h(x) polynom's graphic between c and d > (xrange[c,d]). gnuplot supports the ternary operator of the C programming language for work like that: set xrange [a:d] plot (x < b) ? f(x) : (x < c) ? g(x) : h(x) Consult "help ternary" to understand how this works. |