MathGroup Archive 2009

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

Search the Archive

Re: exporting coordinate triplets out of


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 hotmail.com> wrote: 

=============
Greetings!

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?

TIA,

C.



  • 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