Below you can see the front-view size comparison of the Sony RX10 IV and Samsung NX1. The Sony RX10 IV is 6 mm narrower and 8 mm shorter than the Samsung NX1 but it is also 79 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.