ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

specified a 3D scale for each axis

Hi,
 
I'm plotting a 3D graph but i don't want to use the autoscale function. I would rather specified my maximum value of scale for each axis.
How can can i achieve this?
 
Thanks.
 
 
GERARD Florian.
 
 
0 Kudos
Message 1 of 5
(3,016 Views)

The 3d plot is an activeX control and you can set the axis maximum programatically by wiring a reference to the control to:

1. Properity node: Axis

2. Method: Item (axis number 1, 2 or 3)

3. Method: Maximum (value)

in c++ style notation it is 3Dcontrol.Axis.Axis(1).Maximum(1000)

See the attached capture.

-Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 5
(3,010 Views)
Oops, forgot the attachment, Here you go
 
-Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 5
(3,010 Views)
thanks you very much!
 
That works perfectly...
0 Kudos
Message 4 of 5
(3,001 Views)

Your welcome, you can use this approach to set almost any property of the 3d graph programatically.

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 5 of 5
(2,997 Views)