$partialdiff sub Y$ $integral dX$ $integral dY$ [ WORLDBATH bath ] selection

You can interactively pick out the data you would like with the Data Viewer.

Otherwise choose the variable you would like to select data from: