Fact 1: a seismograph is used for measuring the size of an earthquake. 
Fact 2: Earthquakes are commonly measured by the Richter magnitude scale, which measures the size of earthquakes.
a seismograph is used for measuring the Richter magnitude scale.