A graphic record of lung function in which the amount of gas inhaled and exhaled is recorded on the horizontal axis and the rate at which the gas moves on the vertical axis. It is used to detect abnormalities in pulmonary function such as those accompanying restrictive or obstructive lung disease.