R - Point Chart
Updated at 2011-09-04 20:45
Creating a point chart in R.
# Hiroshima A-bomb was 63 terajoules
plot(
x= consumption$Vuosi,
y= consumption$Maara,
type= "p",
ylim= c(0,250000),
xlab= "Year",
ylab= "Consumption (terajoule)",
main= "Energy used for heating buildings in Finland from 1970 to 2007.",
sub= "by Tommi Laine, source www.stat.fi"
)
points(
x= consumption$Vuosi,
y= consumption$Maara,
pch= 19,
col= "black"
)