LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically changing y-axis label

Hello All,
In a X-Y plot how does one change the y-axis label programatically? I have the y-axis set up to show counts/sampling time and the sampling time is user controlled. So I would like the y-axis label to show "counts/5 sec" or something like that. I cannot see any option in the property node that shows Y-axis label.

Does anyone have any ideas about I do this? Thanks.
KB
0 Kudos
Message 1 of 4
(3,215 Views)
Here is an example of what I think you want to do.
Here is how you do it. Go to the block diagram and right click on the graph/ select create then property node/ then once the property node is on the block diagram then you will left click on it and then select yscale/name label/text then you wire a control to the property node. I hope this is the info you are looking for.

Joe



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 4
(3,215 Views)
Thank you, Joe. That worked.
0 Kudos
Message 3 of 4
(3,215 Views)
> In a X-Y plot how does one change the y-axis label
> programatically? I have the y-axis set up to show counts/sampling time
> and the sampling time is user controlled. So I would like the y-axis
> label to show "counts/5 sec" or something like that. I cannot see any
> option in the property node that shows Y-axis label.
>

The graph property would be Y Scale>>NameLabel. You can change all
sorts of things there including the Text property.

Greg McKaskle
0 Kudos
Message 4 of 4
(3,215 Views)