LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing second Y-axis values to be a function of the first

Hello,

 

I am trying to create an XY plot that has two different y-axis scales based on a single set of data such that one scale is a function of the other. For example it would be similar to having temperature data on one Y-axis scale in Celsius and Fahrenheit on the other, however the math that relates my two units involves a fifth root. 

 

So one y-axis is auto-scaling and using the data from the input array. While the second y-axis has simply a different label with respect to the first y axis. Offset and scale doesn't work because it is only a linear scaling and writing marker values with a property node moves where the marker is located at. I just want to create a graph with 2 y-axis markers that are in different units but also auto-scales properly with respect to the incoming data.

 

Any help or method Im willing to try. I also dont think overlaying two XY graphs would work because of the marker scaling.

 

 

0 Kudos
Message 1 of 2
(2,110 Views)

Hi there,

 

Thank you for providing all that information. I found an article that details a similar task to the one you wish to accomplish, that can hopefully provide some insight:

 

How Can I Plot LabVIEW Graph/Chart with Two Different Scales:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019ZRESA2&l=en-US

 

This method does involve using property nodes but may not impact the marker location.

 

Regards,

 

Andrea W.
ELP Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,058 Views)