Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Converting a 2D plot into a 1D plot by taking the average
Posted 15 juil. 2020, 21:36 UTC−4 General, Introduction, Results & Visualization Version 5.5 1 Reply
Please login with a confirmed email address before reporting spam
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.
Attachments: