MathGroup Archive 2009

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

Search the Archive

Re: exporting coordinate triplets out of

  • To: mathgroup at
  • Subject: [mg101054] Re: [mg101049] exporting coordinate triplets out of
  • From: Bob Hanlon <hanlonr at>
  • Date: Tue, 23 Jun 2009 07:02:47 -0400 (EDT)
  • Reply-to: hanlonr at

plt = ParametricPlot3D[{Cos[u], Sin[u] + Cos[v], Sin[v]}, {u, 0, 
   2 Pi}, {v, -Pi, Pi}]

pts = Cases[plt, {_?NumericQ, _?NumericQ, _?NumericQ}, Infinity];

However, you can generate exact values for points that fit the model using the model directly

pts2 = Flatten[
   Table[{Cos[u], Sin[u] + Cos[v], Sin[v]}, {u, 0, 2 Pi, Pi/50}, {v, -Pi, Pi, 
     Pi/50}], 1];

Bob Hanlon

---- replacedwings <cabaret_voltaire at> wrote: 


I have some physical models constructed with ParametricPlot3D... Now,
I'd love to Export these to a file for further analysis...the
preferred format is the {x,y,z} coordinate style.

How is this done?



  • Prev by Date: Re: 2 plots in the same Manipulate
  • Next by Date: Re: Two questions about modification of a matrix.
  • Previous by thread: Publishing the an interactive calculator on the web
  • Next by thread: FindInstance over Integers