Limit the number density distribution in X, Y & Z direction

GROMACS version:2020.2
Hi all, Is there a way to limit the calculation of number density distribution along X, Y and Z axis starting from the center of of nanoparticle of choice? Any suggestion will be appreciated.

Hi,
maybe gmx densmap -h ?
\Alessandra