Below you can see the front-view size comparison of the Olympus E-P5 and Samsung Galaxy NX. The Olympus E-P5 is 15 mm narrower and 32 mm shorter than the Samsung Galaxy NX but it is also 11 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.