Calculating RDF in a specific region of the box

GROMACS version: 2023.2
GROMACS modification: Yes/No

Hi, I have a mixture of two solvents with a solute constrained in the middle of the box. Now I want to calculate the RDF of two solvents with respect to each other near the solute. Is it possible to do so?

Cheers,