d.rast.leg.sh(1)       Grass User's Manual	 d.rast.leg.sh(1)



NNAAMMEE
       dd..rraasstt..lleegg..sshh  - Displays a raster map and its legend on a
       graphics window.
       _(_G_R_A_S_S _S_h_e_l_l _S_c_r_i_p_t_)

SSYYNNOOPPSSIISS
       dd..rraasstt..lleegg..sshh
       dd..rraasstt..lleegg..sshh hheellpp
       dd..rraasstt..lleegg..sshh  _r_a_s_t___m_a_p [_n_u_m___o_f___l_i_n_e_s]

DDEESSCCRRIIPPTTIIOONN
       _d_._r_a_s_t_._l_e_g_._s_h is a UNIX Bourne shell  macro  which  clears
       the  entire  screen,  divides  it into a main (left) and a
       minor (right) frames, and then display a raster map in the
       main frame and the map legend in the minor frame. The main
       frame remains active when the program finishs.

OOPPTTIIOONNSS
       The user can run the program interactively or non-interac-
       tively.

   PPaarraammeetteerrss::
       rraasstt__mmaapp
	      A raster map to be displayed.

       nnuumm__ooff__lliinneess
	      Number  of  lines  to appear in the legend. If this
	      number is not given, the legend frame will  display
	      as  many	lines as number of categories in the map,
	      otherwise, it will display the  first  nnuumm__ooff__lliinneess
	      minus 1 categories with the rest being truncated.


NNOOTTEESS
       The user may adjust the nnuumm__ooff__lliinneess parameter or the size
       of graphics window to get an appropriate result.

FFIILLEESS
       See the file _d_._r_a_s_t_._l_e_g_._s_h under $GISBASE/scripts.

SSEEEE AALLSSOO
       _d_._l_e_g_e_n_d

       _d_._r_a_s_t

AAUUTTHHOORRSS
       Jianping Xu,

       Scott Madry,

       Rutgers University

       _L_a_s_t _c_h_a_n_g_e_d_: _$_D_a_t_e_: _2_0_0_2_/_0_1_/_2_5 _0_5_:_4_5_:_3_3 _$



GRASS 5.0					 d.rast.leg.sh(1)
