Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10774 > unrolled thread
| Started by | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| First post | 2012-07-04 07:30 +0000 |
| Last post | 2012-07-04 07:30 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: how to export to Excel in Mathematica from a Parametricplot command Bob Hanlon <hanlonr357@gmail.com> - 2012-07-04 07:30 +0000
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Date | 2012-07-04 07:30 +0000 |
| Subject | Re: how to export to Excel in Mathematica from a Parametricplot command |
| Message-ID | <jt0rem$1b2$1@smc.vnet.net> |
sol = NDSolve[{
y'[t] == y[t] (x[t] - 1),
x'[t] == x[t] (2 - y[t]),
x[0] == 1, y[0] == 2.7},
{x, y}, {t, 0, 10}];
plt = ParametricPlot[{x[t], y[t]} /. sol, {t, 0, 10}]
points = Cases[plt, Line[pts_] :> pts, Infinity][[1]];
Export["plotPts.xls", points];
Bob Hanlon
On Mon, Jul 2, 2012 at 10:20 PM, <mrafiee20@gmail.com> wrote:
> Hi all,
>
> This example is from Mathematica:
> http://reference.wolfram.com/mathematica/ref/ParametricPlot.html
>
> NDSolve[{y'[t] == y[t] (x[t] - 1), x'[t] == x[t] (2 - y[t]),
> x[0] == 1, y[0] == 2.7}, {x, y}, {t, 0, 10}];
> ParametricPlot[Evaluate[{x[t], y[t]} /. First[%]], {t, 0, 10}]
>
> My question is:
> How can I export the results (*.xls or *.dat) to plot it with other programs like Origin pro, Excel, Tecplot, etc.?
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web