03-06-2012 05:38 AM
Hi all,
I have an array that is updated in a loop. In order to save memory, I don't build it in the loop but define the size in advance and use the replace array subset VI. This results in a 2D array of zeros and data. I would like to autoscale the data part and ignore the zeros (that aren't really data).
For example, my array starts as a 100x100 array of zeros. Then lines are updated with values between 6 and 7. I would like the scale to be between 6 and 7, and ignore the zeros. I tried playing with color tables, but I need something that will change as new lines are added, so that if the 50th line has an 8 in it it will also be seen.Is this possible?
Thanks,
Danielle
Solved! Go to Solution.
03-06-2012 09:20 AM
Try initializing with NaN. NaN values are not plotted on a graph.
03-07-2012 02:40 AM
Hi,
This works great, thanks!
Danielle