DISCONTINUITIES IN A CURVE



On 11/01/2012 09:40 AM, Rupert Swarbrick wrote:
> What I*don't*  know is whether it's possible to do this automatically. I
> can see that one could split things up for rational functions by
> computing the denominator and using allroots(), but I suppose that isn't
> really generic enough for someone to have been interested to write it.
Hi,
in the case of plot2d, I think that a better approach would be to stop 
sending point coordinates to Gnuplot when those points fall outside the 
domain (defined by [x,x1,x2] and [y,y1,y2]) and start a new branch when 
the points fall again within the domain. I have already done something 
similar for plotdf and I will attempt the same for a future plot2d, 
unless somebody has a better idea?
Regards,
Jaime