|
From: Ethan A M. <sf...@us...> - 2014-04-22 00:16:52
|
On Monday, 21 April, 2014 23:57:29 Tait wrote: > > I think I remember some discussion a while back about changing plot's > syntax to specify a per-line range for plots. Something akin to: > set xrange [-10:10] > plot [0:10] sqrt(x), [-10:0] -log(-x+1) > > ... as a substitute for the current approach: > rangefunc(x,min,max,func)=(x>min)&&(x<=max) ? func : 1/0 > plot rangefunc(x,0,10,sqrt(x)), rangefunc(x,-10,0,-log(-x+1)) > > Did that idea ever go anywhere? A variant of this went into CVS more than a year ago. http://gnuplot.sourceforge.net/demo_cvs/piecewise.html > Since it's backward-incompatible with the current plot [] syntax, it would > probably have to be a major version change. In what way is it incompatible? I don't recall seeing any reports of breakage. Ethan |