Hi,
After running my simulation I have a plot like the one attached as a picture. I want to convert this 2D plot into a 1D plot by taking the average in the y direction. For example lets say that my simulation gave out a variable called u(x,y). And I want to average it out with respect to the y direction. Meaning:
How can I do this, all that I been able to find is to find the average of the entire 2D plot not only in one direction.