02.07.2013 Views

现代统计图形 - 科学网—博客

现代统计图形 - 科学网—博客

现代统计图形 - 科学网—博客

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

90 第五章 图库<br />

1 > par(mar = c(4, 4, 2, 2), cex.main = 1)<br />

2 > x = 10 * 1:nrow(volcano)<br />

3 > y = 10 * 1:ncol(volcano)<br />

4 > filled.contour(x, y, volcano, color = terrain.colors,<br />

5 + plot.title = title(main = "The Topography of Maunga Whau",<br />

6 + xlab = "Meters North", ylab = "Meters West"),<br />

7 + plot.axes = {<br />

8 + axis(1, seq(100, 800, by = 100))<br />

9 + axis(2, seq(100, 600, by = 100))<br />

10 + }, key.title = title(main = "Height\n(meters)"),<br />

11 + key.axes = axis(4, seq(90, 190, by = 10)))<br />

Meters West<br />

600<br />

500<br />

400<br />

300<br />

200<br />

100<br />

The Topography of Maunga Whau<br />

100 200 300 400 500 600 700 800<br />

Meters North<br />

Height<br />

(meters)<br />

图 5.17: 新西兰Maunga Whau火山高度数据颜色等高图<br />

190<br />

180<br />

170<br />

160<br />

150<br />

140<br />

130<br />

120<br />

110<br />

100<br />

90

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!