added plotting total gas mass