...
- next, compute the maximum of the pressure (with the
maxval()
function) in the loop and store its values in another list. Build an input visualiser out of it (e.g. call itvis_max
). Add a Graph Plotting for it (e.g. call it graph_max) using a different colour. In the end you need to return a longer list like this:
...
- the average pressure curve (with the
average()
function) can be derived in a very similar manner
...