DiscretePlot

*To*: mathgroup at smc.vnet.net*Subject*: [mg110348] DiscretePlot*From*: Andrzej Kozlowski <akoz at mimuw.edu.pl>*Date*: Tue, 15 Jun 2010 02:27:16 -0400 (EDT)

I am somewhat puzzled by the following behaviour of DiscretePlot fff = Compile[{x}, x^2]; This works fine: DiscretePlot[fff[x], {x, 1, 10, 0.1}, Joined -> True] This also works, but produces an error message: DiscretePlot[{fff[x]},{x,1,10,0.1},Joined->True] CompiledFunction::cfsa: Argument x at position 1 should be a machine-size real number. >> This becomes a (slight) problem when plotting several functions. Using ListLinePlot avoids it: ListLinePlot[{Table[fff[x], {x, 1, 10, 0.1}]}, Joined -> True, Filling -> Bottom] Andrzej Kozlowski=