03-27-2017 11:03 AM
@haalshaikh wrote:
Is it possible to the plotting without storing the values in an array or something similar? Because I need it graph forever.
That's silly and does not make sense. If you need the graph forever, you also need to keep the data forever. Simple math! ("All I want is everything and too much is never enough!" does not work in the real world. Everything is ultimately limited.)
Of course your graph is not infinitely large has has only a limited number of pixels, so after graphing an infinite number of random points for an infinite amount of time, the graph will be all white. What would be the fun of that? 😮
There is another possibility. Instead of using an xy graph, use an intensity graph. Initialize a 2D array of sufficient resolution, place it in a shift register, and use scaled x and y indices to replace a given location with a nonzero value. Now the 2D array is a relatively small fixed size forever and it will just ignore data at duplicate locations.
03-27-2017 11:13 AM - edited 03-27-2017 11:14 AM
@altenbach wrote:
Instead of using an xy graph, use an intensity graph.
Have a look at this very old example. It takes it one step further by color coding the probability of each pixel.