8.2.45.79 octave.dataset.uspop

Static Method: out = uspop ()

Populations Recorded by the US Census

Description

This data set gives the population of the United States (in millions) as recorded by the decennial census for the period 1790–1970.

Format

year

Year of the census.

population

Population, in millions.

Source

McNeil, D. R. (1977). Interactive Data Analysis. New York: Wiley.

Examples

t = octave.dataset.uspop;

figure
semilogy (t.year, t.population)
xlabel ("Year")
ylabel ("U.S. Population (millions)")