ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

x plot

I want to plot the y data in my file versus a custom x axis (i.e. 5000-7000).  My data is 601 values.  How can I do this using the xy graph or waveform graph? 
0 Kudos
Message 1 of 4
(3,769 Views)
Take a look in C:\ProgramFiles for LabVIEW's Examples subdirectory.
Many VIs there covering various topics. XY graph looks to be best for your needs.
0 Kudos
Message 2 of 4
(3,756 Views)
Hello rig32,

you can do this:

Improvements to do:
For big datasets it's surely better to initialize an array before calculating the x-values and use a "Replace array subset" inside the X-For loop.

Message Edited by GerdW on 02-24-2006 09:13 AM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 4
(3,749 Views)
Or this too! Smiley Wink
0 Kudos
Message 4 of 4
(3,740 Views)