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

