xfig                package:grDevices                R Documentation

_X_F_i_g _G_r_a_p_h_i_c_s _D_e_v_i_c_e

_D_e_s_c_r_i_p_t_i_o_n:

     'xfig' starts the graphics device driver for producing XFig
     (version 3.2) graphics.

     The auxiliary function 'ps.options' can be used to set and view
     (if called without arguments) default values for the arguments to
     'xfig' and 'postscript'.

_U_s_a_g_e:

     xfig(file = ifelse(onefile, "Rplots.fig", "Rplot%03d.fig"),
          onefile = FALSE, ...)

_A_r_g_u_m_e_n_t_s:

    file: a character string giving the name of the file.  If it is
          '""', the output is piped to the command given by the
          argument 'command'.  For use with 'onefile = FALSE' give a
          'printf' format such as '"Rplot%d.fig"' (the default in that
          case).

 onefile: logical: if true allow multiple figures in one file. If
          false, assume only one page per file and generate a file
          number containing the page number.

     ...: further arguments to 'ps.options' accepted by 'xfig()':

          '_p_a_p_e_r' the size of paper in the printer.  The choices are
               '"A4"', '"Letter"' and '"Legal"' (and these can be
               lowercase).  A further choice is '"default"', which is
               the default.  If this is selected, the papersize is
               taken from the option '"papersize"' if that is set and
               to '"A4"' if it is unset or empty.

          '_h_o_r_i_z_o_n_t_a_l' the orientation of the printed image, a logical.
                Defaults to true, that is landscape orientation.

          '_w_i_d_t_h', '_h_e_i_g_h_t' the width and height of the graphics region
               in inches.  The default is to use the entire page less a
               0.25 inch border.

          '_f_a_m_i_l_y' the font family to be used.  This must be one of
               '"AvantGarde"', '"Bookman"', '"Courier"', '"Helvetica"',
               '"Helvetica-Narrow"', '"NewCenturySchoolbook"',
               '"Palatino"' or '"Times"'.

          '_p_o_i_n_t_s_i_z_e' the default point size to be used.

          '_b_g' the default background color to be used.

          '_f_g' the default foreground color to be used.

          '_p_a_g_e_c_e_n_t_r_e' logical: should the device region be centred on
               the page: defaults to 'TRUE'.

_D_e_t_a_i_l_s:

     Although 'xfig' can produce multiple plots in one file, the XFig
     format does not say how to separate or view them.  So 'onefile =
     FALSE' is the default.

     Line widths as controlled by 'par(lwd=)' are in multiples of
     5/6*1/72 inch.  Multiples less than 1 are allowed.  'pch="."' with
     'cex = 1' corresponds to a square of side 1/72 inch.

_N_o_t_e:

     Only some line textures ('0 <= lty < 4') are used.  Eventually
     this will be partially remedied, but the XFig file format does not
     allow as general line textures as the R model.  Unimplemented line
     textures are displayed as _dash-double-dotted_.

     There is a limit of 512 colours (plus white and black) per file.

_S_e_e _A_l_s_o:

     'Devices', 'postscript', 'ps.options'.

