frame                package:graphics                R Documentation

_C_r_e_a_t_e / _S_t_a_r_t _a _N_e_w _P_l_o_t _F_r_a_m_e

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

     This function ('frame' is an alias for 'plot.new') causes the
     completion of plotting in the current plot (if there is one) and
     an advance to a new graphics frame.  This is used in all
     high-level plotting functions and also useful for skipping plots
     when a multi-figure region is in use.

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

     plot.new()
     frame()

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

     The new page is painted with the background colour ('par("bg")'),
     which is often transparent.  For devices with a _canvas_ colour
     (the on-screen devices 'X11', 'windows' and 'quartz'), the window
     is first painted with the canvas colour and then the background
     colour.

     There is a hook called '"plot.new"' (see 'setHook') called
     immediately after advancing the frame, which is used in the
     testing code to annotate the new page.  The hook function(s) are
     called with no argument.  (If the value is a character string,
     'get' is called on it from within the 'graphics' name space.)

_R_e_f_e_r_e_n_c_e_s:

     Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) _The New S
     Language_. Wadsworth & Brooks/Cole. ('frame'.)

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

     'plot.window', 'plot.default'.

