Density/Pressure vs. time

GROMACS version:
GROMACS modification: No

I am studying the properties of an hybrid system composed by TIP3P and stdW (MARTINI) water models. It is possible to obtain plots of density/pressure vs. time for each group separately? The only variables I can analyze per group, with the .edr file, is the temperature and lambda.

Thanks in advance.