LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programatically change intensity graph z scale height

I want to change the height of an intensity graph, which I can do by changing the property Plot Area->Size->Height, but the height of the Z scale doesn't change with it, and there is no separate height property for it.

Is there a workaround for this?

This is LabVIEW 2015.

 

Brian Smith
Advanced Light Source
Lawrence Berkeley National Laboratory
0 Kudos
Message 1 of 6
(4,243 Views)

I looked into changing the z scale height for an intensity graph programmatically using property nodes and could not find a way to do it. Dragging the scale down was the only way I could find to change the size of the z scale. If I find a programmatic workaround I will post it here. 

Aaron Douglass
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(4,174 Views)

The property you want is ZScale.Area Height (it's one of the two sub-property of ZScale.Bounds).  At first, I thought you were worried about how to adjust the "height" of the Intensity dimension (which is trickier) ...

 

Bob Schor

0 Kudos
Message 3 of 6
(4,155 Views)

The ZScale.Area Height property is read-only.

 

For some reason, NI has made the Bounds properties of charts/graphs not writable, only the plot area.

The Z axis only has "Bounds" properties, no "plot area size" properties.

 

Brian Smith
Advanced Light Source
Lawrence Berkeley National Laboratory
Message 4 of 6
(4,136 Views)

I was playing around with it yesterday as well and could not find anything suitable. All I found was an old post from 14 years ago where Jim Kring says it is a "ramp object" not exposed by NI yet. 

 

I do think it is an odd behavior that it doesn't resize with the graph, perhaps it could go in the idea exchange.

0 Kudos
Message 5 of 6
(4,126 Views)

I've found this is still the case as of 2023 Q3.

0 Kudos
Message 6 of 6
(707 Views)