reinit clear * Practice with shapefiles *Opens the file used to draw the background image 'sdfopen elev.1-deg.nc' 'set background 0' 'set grid off' 'set grads off' 'set mproj latlon' 'set frame on' 'set grads on' * Defining red color scale (elevations from DEM) 'set rgb 18 0 0 0' 'set rgb 20 65 0 0' 'set rgb 22 75 0 0' 'set rgb 24 90 0 0' 'set rgb 25 100 0 0' 'set rgb 26 115 0 0' 'set rgb 28 130 0 0' 'set rgb 30 145 0 0' 'set rgb 32 160 0 0' 'set rgb 34 175 0 0' 'set rgb 35 190 0 0' 'set rgb 36 205 0 0' 'set rgb 38 220 0 0' 'set rgb 40 235 0 0' 'set rgb 42 245 0 0' 'set rgb 44 250 0 0' *Defines map dimentions 'set lat -56 -22' 'set lon -77 -50' 'set gxout shaded' 'set clevs 0 10 50 100 250 500 750 1000 1250 1500 1750 2000 2250 2500 3000 3500 3750 4000' 'set ccols 1 18 20 22 24 25 26 28 30 32 34 35 36 38 40 42 44 44 44' *Displays the background in red scale 'd data' 'set rgb 50 50 200 50' 'set line 50' 'set line 4' 'draw shp arg_roads' 'set line 7' 'draw shp ARG_water_areas_dcw' 'set strsiz .13 .13' * set string l means centered at left medium high 'set string 0 l 6' 'printim Fig-shp1.png x1000 y800'