3D Parametric Equations, Cylindrical & Spherical Coordin

Have a suggestion for improving DPlot or a question about existing features? Let us know
Post Reply
raydela
Posts: 46
Joined: Wed Sep 10, 2003 2:01 pm
Location: Oxford, MI, USA

3D Parametric Equations, Cylindrical & Spherical Coordin

Post by raydela »

Do you have any plans to extend 3D capabilities to allow representing 3D parametric equations?

Also, like 2D polar coordinates, in conjunction with 3D it would be nice to be able to represent equations in cylindrical or spherical coordinates.

Check out the following website for capability I'd like to see in DPlot:
http://www.flashandmath.com/advanced/mo ... ion3d.html

As a specific example, I wanted to find an equation for a form that I call (for lack of finding proper technical term for it) a 'helical toroid' coil winding. The following provides a decent example of what I wanted to achieve (except that the website above has limited plotting increments so it has somewhat grainy resolution):

x =(1+0.25*cos(75*t))*cos(t)
y = (1+0.25*cos(75*t))*sin(t)
z = 1+2.0*sin(75*t)

The reason I wanted such an equation was to take it to an FEA modeling program to see what kind of magnetic field such a coil would create (I still haven't got this far yet so don't ask me what the result was - If you know how to do this already please let me know!)

Ray Delaforce
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

For anybody else following along here, Ray generated 25,000 points from a 3D parametric equation in Excel, then used the Add-In XYZScatter function to produce this plot:

Image

The equations used in this case were:

X =(1+0.25*cos(75*t))*cos(t)
Y = (1+0.25*cos(75*t))*sin(t)
Z = t+2.0*sin(75*t)
with t varying from 0 to 25 in increments of 0.001.

Thanks for sharing, Ray.
Visualize Your Data
support@dplot.com
raydela
Posts: 46
Joined: Wed Sep 10, 2003 2:01 pm
Location: Oxford, MI, USA

Post by raydela »

David, thanks for advice on how to do this!

Please note that my initial post shows incorrect equation for Z:
Z = 1+2.0*sin(75*t).

The equation accompanying David's reply with my example plot has the correct equation:

Z = t+2.0*sin(75*t)

Also, once the data is imported from Excel, there are a few major 'coarse' adjustments of the default values that are required to get the desired appearance. These adjustments are:

1.) Options | Extents/Intervals/Size -- I had to reduce the X & Y extents from defaults.

2.) Options | Symbol Styles... Symbol Size had to be specified (0.03 or something like this) to see the detail of the 'space curve' line (which I call a 'helical toroid' for lack of finding proper mathematical term despite extensive search on the Internet).

3.) Options | Scatter Plot Options... The Z Scale factor had to be changed from default of 1 to 0.1 to so that the aspect ratio of the 'hose' shape of the helix was approximately circular.

Great support for a great product!

Ray
joecar
Posts: 43
Joined: Thu May 11, 2006 10:33 pm
Location: So.Cal.

Post by joecar »

Where can I find the XYZscatter addin...?
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

If you installed the DPlot AddIn for Excel, it is on the DPlot AddIn menu.
Visualize Your Data
support@dplot.com
VerArbise
Posts: 6
Joined: Mon May 27, 2024 9:30 pm

how long does cialis stay

Post by VerArbise »

<a href=https://cialis.lat/discover-the-best-pr ... lis>cialis price</a> Because the models are estimating mortality reduction with actual screening, model estimates are most comparable to the Age trial results 6 among women who actually attended screening
liammaTib
Posts: 1
Joined: Tue May 28, 2024 3:25 pm

can cialis affect eyesight

Post by liammaTib »

Even with the epic settings, unceasing action and the best zombie makeup money can buy, watching a devoted dad run away from flesh eating monsters can get a little boring <a href=http://cialis.lat/discover-the-best-pri ... s>cheapest cialis generic online</a> In Aug 2014, a GI told me that my colonoscopy showed a small area of mild inflammation in the small intestine and he declared it to be Crohn s that needed immediate treatment
Post Reply