I have a scanning xy stage controlled by two For loops: For loop 1 contains the x movement and For loop 2 contains the y movement and For loop 1, ie. the stage scans once the range of x, then moves one step in y and scans the range of x etc. A TTL pulse is collected according to its position in x and y. I want to graph the result with an intensity graph for the counts per position but I have data incoherence problems
All you have to do is pass a 2d array to the intensity graph. Try running your data to an 2d array of numerical indicator to see if your data is in the proper form.