gmt                   package:gmt                   R Documentation

_I_n_i_t_i_a_l_i_z_e _G_M_T _S_e_s_s_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Initialize a GMT (Generic Mapping Tools) session by setting
     graphical parameters and current postscript file.

_U_s_a_g_e:

     gmt(par, style="s", file="map.eps", quiet=FALSE)

_A_r_g_u_m_e_n_t_s:

     par: optional string of the form '"PARAMETER1=value1
          PARAMETER2=value2 ..."', passed to 'gmtset'.

   style: default units and values: '"s"' for SI (international) or
          '"u"' for United States, passed to 'gmtdefaults'.

    file: postscript filename used in subsequent calls to GMT plot
          functions, passed to 'options()'

   quiet: whether current settings should be displayed.

_D_e_t_a_i_l_s:

     File type should be '.eps' when 'PAPER_MEDIA' is 'A4+' or
     'letter+', but '.ps' otherwise.

     See the GMT documentation for details on graphical parameters,
     'gmtdefaults', 'gmtset' and other GMT commands.

_V_a_l_u_e:

     List containing the current 'options("gmt.file")'.

     If 'par' is passed by user (even an empty string '""' will do), a
     file named '.gmtdefaults4' is created in the working directory. If
     'quiet=FALSE', the current graphical parameter settings are
     displayed.

_N_o_t_e:

     Assumes that GMT version 4 is installed, i.e. that 'gmtset' and
     other commands are in the path, and environment variable 'GMTHOME'
     is defined.

_A_u_t_h_o_r(_s):

     Arni Magnusson arnima@u.washington.edu.

_S_e_e _A_l_s_o:

     'options'.

     'gmt-package' gives an overview of the package.

_E_x_a_m_p_l_e_s:

     ## Not run: 
     gmt(demo.par)
     pscoast(demo.coast)
     psxy(demo.xy)
     pstext(demo.text)
     psbar(demo.bar, ref=64)
     psclose()
     ## End(Not run)

