04-01-2010 09:53 AM
Hello everyone,
I need some help on something that Im trying to figure out.
I need to plot on a waveform graph different points but I need to change the color by groups of 16.
Lets say that I have 304 points and I need to plot it every 16 points with a different color.
If anyone have a clue or an example just let me know ...
Thanks a lot !!
04-01-2010 12:56 PM
04-01-2010 01:05 PM
04-01-2010 02:04 PM
I cannot break it in groups of 16 ... the number of points are variable and it is not viable for example to break 304 points into 19 subplots or what about if I have 1000's of points ??
I need to make this automatically ... for a variable number of points and on the same graph.
Thanks for your help ...
04-01-2010 07:36 PM
You can make this example to work with any group of numbers, simply modify the code to make the last group of numbers to have a subset fo the data which is allowed since the result is an array of clusters and not a 2d array. If you want different size groups change the 16 to what ever you want.