LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY graph plot export ?

Good Day! Can someone help me.....i have some problem with my XY graph representation. How do i generate a function that reads a value of the X axis of the plot and automaticaly gives me the corespondent value on the y axis. I attached two pictures regarding the plot in cause.I tried using the cursor of the waveform graph by checking Allow Dragging>>Single plot . The cursor now follows my plot but it moves only from point to point (the points can be seen in the atachement).I want to make the cursor to move along the plot and give me at a specific X value the corespondent  value on the Y axis. Thank you ...excuse my language:)) my English is a bit rusty Smiley Happy. Have a nice day 

0 Kudos
Message 1 of 7
(2,925 Views)

Hello DjFloapa,

 

Just a couple questions to clarify. So you'd like to choose which x value of the data point and a function will return the corresponding y-axis value? Do you want this for any point like a trend line or only ones that are plotted? Would plotting a trendline along with the data and then moving the cursor along the line be sufficient?

 

Thank you,

Deborah Y.

Deborah Burke
NI Hardware and Drivers Product Manager
Certified LabVIEW Architect
0 Kudos
Message 2 of 7
(2,883 Views)

Only the ones that are ploted.....i need to read values from that plot.I have an ideal curve graph and for a x value i need to know its corespondent y value on that curve.

I am bulding a VI that reads  parameters from a DAQ device......These values are represented on the X values ...and a need the y value on the plot to implement them in some ecuations.

0 Kudos
Message 3 of 7
(2,864 Views)

Do a polynomail fit, then use Polynomial evaluation using the coefficient obtained earlier to get the function value for any x.

 

(Of course if there is a theory and a more specific model for the data, you can use nonlinear fit)

0 Kudos
Message 4 of 7
(2,850 Views)

I would use a cursor. You could make it Transparent if you do not want to see the cursor. See the attached code

Tim
GHSP
0 Kudos
Message 5 of 7
(2,835 Views)

 

thank you i will try with the polynominal FIt ! Have a nice day

0 Kudos
Message 6 of 7
(2,816 Views)

Here is another possiblilty found from a forum post. Good luck with your application!

 

Cheers,

Deborah Y.

Deborah Burke
NI Hardware and Drivers Product Manager
Certified LabVIEW Architect
0 Kudos
Message 7 of 7
(2,783 Views)