MathGroup Archive 1994

[Date Index] [Thread Index] [Author Index]

Search the Archive

Answers: ParametricPlot's list of t(s).

  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg325] Answers: ParametricPlot's list of t(s).
  • From: Xah Y Lee <xyl10060 at fhda.edu>
  • Date: Mon, 12 Dec 1994 22:59:09 -0800 (PST)

Two weeks ago I posted a problem about getting the list of t(s) generated 
by a Mma's ParametricPlot. I got quite a few answers. Here is a summary.

Problem:
>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?
-------------------------------------------
Common solution:

mylist = {};
ParametricPlot[ AppendTo[mylist,t]; {x[t],y[t]}, {t, 0, 10}]

-------------------------------------------
Somewhat faster:

tlist = Table[ 0, {1000}];
n = 0;
ParametricPlot[ tlist[[++n]]=t; {x[t], y[t]}, {t, 0, 10 }]
Take[tlist,n]
-------------------------------------------
Interesting approach:

  myplot = ParametricPlot3D[{t, x[t], y[t]}, {t, tmin, tmax},
             opts, DisplayFunction -> Identity]
  tValues = Nest[Map[First, #]&, First[myplot], 3]


Thanks to Tom Wickham-Jones , Jeff Adams, Elliot Weinberg, Jerry Keiper, 
and Lou Talman .

 Xah Lee
 xyl10060 at tiptoe.fhda.edu
 Mathematician of WASAMATA U.; Mountain View, CA
 Quote of the day: Love thy neighbor, love thy neighbor's wife.





  • Prev by Date: Re: Generalized Eigenvector and Singular Value Decompositions
  • Next by Date: Re: alternating sums
  • Previous by thread: Re: Plot curiousities ...
  • Next by thread: Web pages