LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change y axis values to text

Solved!
Go to solution

Hi all,

 

I am trying to plot some weather data I have taken from a website. One detail I am extracting from the website is wind bearing. Extracting the value is fine, and I am left with a value between 0-360 which corresponds to a direction. I can plot this on a graph relative to the time when I acquired the data. One thing I'd like to do is create a second y scale and change the numeric values to text labels to describe the direction, so I have N, NNE, NE etc. as well as the value of the bearing in degrees. I can't find a way of adding text to the second y scale, am I missing something or is this a bit tricky to do? I have attached an image to show what I mean.

 

If I have missed a forum post relating to this issue, my apologies, please paste the link in a comment below.

 

Many thanks

Joe

0 Kudos
Message 1 of 4
(3,509 Views)
Solution
Accepted by topic author Plastipack

Hi pack,

 

I can't find a way of adding text to the second y scale, am I missing something or is this a bit tricky to do?

No, you don't miss anything. You cannot display text in the y axis.

 

But you could hide the y axis values and place a string indicator instead!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(3,480 Views)

Hi GerdW,

 

Ahh, I didn't consider that...I'll blame Monday morning. Thanks for your help, do you think adding text to a scale will be a future LabVIEW feature?

 

Joe

0 Kudos
Message 3 of 4
(3,466 Views)

Hi Joe,

 

when you have questions/request for future LabVIEW versions you should look into the LabVIEW Idea Exchange

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(3,429 Views)