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: 

plot styles in 3dgraph

i am using 3dgraph object from componentworks version 1.0 i know how to create
a graph using the cartesian style, but i dont know to create a graph with
a cilindrical style . In cilindrical graph the elements are radius, angle,amplitude.
How is this cilindrical data passed to the 3dgrpah object. is x=raius, y=angle
and z=amplitide?. I get strange results and i am getting desperate.
0 Kudos
Message 1 of 4
(3,780 Views)
"franklyn diaz" wrote:
>>i am using 3dgraph object from componentworks version 1.0 i know how to
create>a graph using the cartesian style, but i dont know to create a graph
with>a cilindrical style . In cilindrical graph the elements are radius,
angle,amplitude.>How is this cilindrical data passed to the 3dgrpah object.
is x=raius, y=angle>and z=amplitide?. I get strange results and i am getting
desperate.>


The coordinates are actually x=angle, y=height(amplitude), and z=radius.
Thus you can think of radius = f(angle, height) like z = f(x,y).
0 Kudos
Message 2 of 4
(3,780 Views)
Thanks.
but i am using plot3dsimplesurface and the matriz takes x as the row,y as
the column and z as the value in the matrix. so that means that the amplitude
is the column of the matrix. Do i have to use plot3dsurface giving three
vectors instead to plot the surface easily.



"Aaron Michalk" wrote:
>>"franklyn diaz" wrote:>>>i am using 3dgraph object
from componentworks version 1.0 i know how to>create>a graph using the cartesian
style, but i dont know to create a graph>with>a cilindrical style . In cilindrical
graph the elements are radius,>angle,amplitude.>How is this cilindrical data
passed to the 3dgrpah object.>is x=raius, y=angle>and z=amplitide?. I get
strange results and i am getting>desperate.>>>>The c
oordinates are actually
x=angle, y=height(amplitude), and z=radius.> Thus you can think of radius
= f(angle, height) like z = f(x,y).
0 Kudos
Message 3 of 4
(3,780 Views)
You can use Plot3DSimpleSurface if you want the x and y values to be {0, 1,
2, ...}. If you want the x and y values to be different you have to use
Plot3DSurface which takes an x vector, a y vector, and a z matrix.
0 Kudos
Message 4 of 4
(3,780 Views)