MathGroup Archive 2012

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

Search the Archive

Re: how to export to Excel in Mathematica from a Parametricplot command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127191] [mg127191] Re: how to export to Excel in Mathematica from a Parametricplot command
  • From: Dominik Hezel <sendme2000 at me.com>
  • Date: Thu, 5 Jul 2012 06:18:08 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jstl0d$k81$1@smc.vnet.net>

You'll probably get some more elegant solutions, but this works:

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}]

exp = Evaluate[{x[t], y[t]} /. First[%]];
exp2 = exp[[1, 3, 2, 2, 1]];
Export["Desktop/exp.xls", exp2]

You might want to transpose it before export.
.Dominik



  • Prev by Date: Re: Evaluate code fragment without making new cell for it?
  • Next by Date: NonlinearModelFit to multiple data sets simultaneously?
  • Previous by thread: Re: how to export to Excel in Mathematica from a Parametricplot command
  • Next by thread: Re: how to export to Excel in Mathematica from a Parametricplot command