LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D parametric plot grid control

I am trying to map data onto a 3D parametric surface that looks like an ellipsoid. I need the ellipsoid to be "divided" in 36 slices. I was able to draw the ellipsoid and map the data but the grid slices the object in 72 slices vertically (see attached file). In the program I'm specifying the total steps in theta coordinate to be 36 so I don't know where the problem is. Any idea?
0 Kudos
Message 1 of 3
(2,731 Views)
I tried changing the constant �35� in the outer loop, and realized that every odd value would result in twize the amount of slices, so to get 36 slices you should use the constant �36�. It�s interesting to see the difference of entering �4� and �3�.

I will look into this further to see what causes the �doubling�.

Best regards,
Philip C.
Applications Engineer
National Instruments
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 2 of 3
(2,731 Views)
I solved the problem: the range of the angle I used to describe the ellipsoid (inner FOR loop) should be from -90deg to 90deg instead of 0 to 360 deg, otherwise when I produce the rotation of the ellipse along the azimuthal angle theta between 0 and 360 deg (outer FOR loop) it will overcreate the surface by 180 deg. See attached correct file.
Message 3 of 3
(2,731 Views)