with provision for altering speed of recording medium in accordance with the magnitude of the variable to be recorded