From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,365 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
(2,352 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
(2,345 Views)
Or this too! Smiley Wink
0 Kudos
Message 4 of 4
(2,336 Views)