MathGroup Archive 2002

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

Search the Archive

RE: how to extract parameter values

  • To: mathgroup at
  • Subject: [mg37324] RE: [mg37310] how to extract parameter values
  • From: "DrBob" <drbob at>
  • Date: Wed, 23 Oct 2002 02:57:09 -0400 (EDT)
  • Reply-to: <drbob at>
  • Sender: owner-wri-mathgroup at

Try this:

plot = ParametricPlot[{Cos[5t], Sin[3t]}, {
      t, 0, 2ð}, AspectRatio -> Automatic];
lines = Cases[plot, _Line, Infinity]

To learn more about what's going on, look at


Also note that you can operate on a graph my manipulating its first
argument.  For instance, to do a coordinate transformation:

A = {{1, 2}, {-3, 1}};
Show[Graphics[plot[[1]] /. {x_, y_} -> A.{x, y}, plot[[2]]]]


-----Original Message-----
From: Jan Mangaldan [mailto:jajem at] 
To: mathgroup at
Subject: [mg37324] [mg37310] how to extract parameter values

I'd like to know how I can extract the parameter
values used by ParametricPlot in plotting a curve,
e.g. if ParametricPlot used points corresponding to
parameter values 2, 4, 6, etc... I need a way to get
the list {2, 4, 6, ...}.

One solution I know is this:

ParametricPlot[(AppendTo[list,t]; {f[t]

The problem with this is that I get an error that
ParametricPlot cannot compile the function, and that
the plotting time is considerably slowed down.
especially if I have a high PlotPoints setting.

Any ideas?

                                   Jan Mangaldan (~_~)

Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site

  • Prev by Date: RE: magnify Help Browser
  • Next by Date: Re: Problems about NSolve
  • Previous by thread: how to extract parameter values
  • Next by thread: RE: how to extract parameter values