Debian Codegraph @

tests/inputs/streamlines.pro

raw
1 ; http://www.harrisgeospatial.com/docs/streamlines.html
2
3 ; Read the data.
4
5 RESTORE, FILEPATH('globalwinds.dat', SUBDIR=['examples','data'])
6
7
8
9 ; Set up the map projection, grid, and continents.
10
11 map = MAP('Equirectangular', POSITION=[0.1,0.1,0.9,0.9], $
12
13 LIMIT=[0,-160,80,-50], TITLE='Wind Streamlines')
14
15
16
17 ; Change some map grid properties.
18
19 grid = map.MAPGRID
20
21 grid.LINESTYLE = "dotted"
22
23 grid.ANTIALIAS = 0
24
25 grid.LABEL_POSITION = 0
26
27 grid.LABEL_ANGLE = 0
28
29 grid.FONT_SIZE=11
30
31
32
33 cont = MAPCONTINENTS(FILL_COLOR="light gray")
34
35
36
37 ; Display the streamlines on top of the map.
38
39 stream = STREAMLINE(u, v, x, y, /OVERPLOT, $
40
41 STREAMLINE_STEPSIZE=0.05, $
42
43 RGB_TABLE=33, AUTO_COLOR=1, THICK=5)