Hey all,
I am new to using this Measurements Studio, so I have a question that I just can't seem to figure out:
I want to make a plot of multiple colors, but I can not do this, so I have to basically make two different plots of different colors and pass NaN values to a certain plot when I don't want to see it. For example:
I have a binary string: 00011110101010001110101101010110110001010110101
or it may look like this: 10100100101101010110011001010110101010101
The possiblities are endless.
I want to plot this binary string. I want Plot1 to be black and plot the black binary numbers and Plot2 to be red and plot the red binary numbers.
I plot just 1 binary number at a time, and I traverse the binary string in a for loop. So, as you can see, I will have to pass a Double.NaN to Plot2's PlotYAppend method 12 times in a row to start since I traverse the binary string one at a time.
However, if I do PlotYAppend(nanArray) more than 1 time (where nanArray is an array consisting only of Double.NaN), I get an overflow exception. How do I fix this?
Thanks so much!