From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

3dgrpah.plotparametricsurface()

Hi :
i am using the plot3dParametric function
of the 3dgraph component in Visual c++ 6.0
what i have encounter is that the function does not like point that are not
aligned one ot another.
if i try to plot 20 point at random angle amplitude and radius it keeps plotting
extrange surfaces, but if i plot a torus it does it right, i think that it
is because the torus points go from inner radius to outer radius and
from low to high angle.

anybody has had the same problem? and how to fix it.
thanks
0 Kudos
Message 1 of 2
(3,352 Views)
You must use ordered data for the Plot3DSurface and Plot3DParametricSurface
methods. You can use randomly arranged data with the Plot3DMesh method.

"franklyn Diaz" wrote:
>>Hi :>i am using the plot3dParametric function>of the 3dgraph component
in Visual c++ 6.0 >what i have encounter is that the function does not like
point that are not>aligned one ot another.>if i try to plot 20 point at random
angle amplitude and radius it keeps plotting>extrange surfaces, but if i
plot a torus it does it right, i think that it>is because the torus points
go from inner radius to outer radius and>from low to high angle.>>anybody
has had the same problem? and how to fix it.>thanks
0 Kudos
Message 2 of 2
(3,352 Views)