psxy                   package:gmt                   R Documentation

_A_d_d _L_i_n_e_s/_S_y_m_b_o_l_s _t_o _G_M_T _M_a_p

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

     Call GMT to add lines/symbols to the active map and save in
     postscript format.

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

     psxy(x, cmd="-JM -R -Scp -W2p -O -K", file=options("gmt.file"))

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

       x: data frame, matrix, or filename containing the data to be
          plotted.

     cmd: string of arguments passed to 'psxy'.

    file: filename where the map is saved.

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

     The data are arranged in two (Lon, Lat) or more columns, depending
     on the '-S' argument. See 'help(r2gmt)' for valid data file format
     when argument 'x' is a filename. See the GMT documentation for
     details on 'psxy' and other GMT commands.

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

     Null, but the map is annotated and saved in postscript format.

     As a side product, a temporary file 'lastXY.gmt' is saved in the
     working directory.

_N_o_t_e:

     Assumes that GMT version 4 is installed, i.e. that 'psxy' 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:

     'lines', 'points', 'postscript'.

     '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)

