> I am scanning over a range for a couple of times and plotting one > property and I am plotting simultaneously. for first run it's ok. but > the real problem comes when it switches direction. Now I need to plot > old data too so I am plotting old data and new data on the same plot. > but I am not able to fix the color and type of old data. Is there any > way other then using legend to fix the color and type of old plot. I > used legend but it doesn't work.
I'm not sure I totally understand what you are shooting for, but the solution is likely to use property nodes. The graph's property node gives you plot properties such as color which are applied to the Active Plot. This means if you want to set the color of plot 2, put two properties on the node, top is Active with 2 wired up and bottom is color with a color constant wired up. Next, you need to determine how many plots you have in your graph. The graph's data goes into plots based upon the shape of the data you gave it, and they are replaced on each call. If you want it to appear that the old data moves to a different color when a new pass starts, you can either modify the name and color of that plot and move new data to a new plot, or you can move the data to the existing old plot and put the new data in the new array slot. Greg McKaskle
