|
From: Mario R. <bio...@te...> - 2011-03-24 19:36:52
|
> These all appear to be caused by the adaptive plotter. It's getting > stuck because it thinks the curve is not smooth enough, which, I think, > is caused by some roundoff. This can be fixed by changing the threshold > to be a bit bigger. > > Not sure why we need the adaptive plotter if we're plotting explicit > points. Maybe we should also change the adaptive-plot depth to 1 > instead of the default of 5 or so? Hello, This change can be applied with option 'adapt_depth': draw2d(adapt_depth = 1, explicit(321.4567,x,0,1)); In the following simulation, variable 'tempos' stores execution times for 'adapt_depth' equal to 1 thru 7: tempos: [0.528033, 1.012063, 2.128133, 4.592288, 10.476654, 26.369647, 76.280767] $ draw2d(points_joined=true, points(tempos)) $ -- Mario |