Re: Question in ParametricPlot
- To: mathgroup at christensen.cybernetics.net
- Subject: [mg236] Re: [mg227] Question in ParametricPlot
- From: twj (Tom Wickham-Jones)
- Date: Mon, 28 Nov 1994 08:30:55 -0600
Xah Lee writes... >Here is a problem I have that calls for knowing the internal algorithm >used for ParametricPlot. When we do a ParametricPlot, mma automatically >figures out which t to use to produce a smooth curve. I need the list of >t(s) used. Is there a way to get them? One simple way to get the points that are used in Plot is to save them as the function is evaluated. pts = {} Plot[ AppendTo[ pts, t]; Sin[t], {t,0,2}] for Plot. Or pts = {} ParametricPlot[ AppendTo[ pts, t]; {Sin[t], Cos[t]},{t,0,2Pi}] After either of these pts contains the points that were evaluated by the Plot command. Tom Wickham-Jones WRI