Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

Cheapest way to apply X-axis values in WPF

$
0
0

Hello,

In my latest project I'm working with double[] arrays where I apply all kinds of filters to an entire array at once using a 3rd party library.  When it's time to plot the data, I don't have the correct X-axis values because I'm not using Point[] arrays (so X-axis is just 0 to N incremented by 1).

What is the "cheapest" way out of this?  I mean, I don't want to loop through the entire array (could be 20-30K long each * 32) and create Point objects out of doubles.  In MATLAB there's a way to simply assign a separate array to X-axis so I was wondering if there's something like this in NI Lib.

Thanks!


Viewing all articles
Browse latest Browse all 1999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>