recordPlot             package:graphics             R Documentation

_R_e_c_o_r_d _a_n_d _R_e_p_l_a_y _P_l_o_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     Functions to save the current plot in an R variable, and to replay
     it.

_U_s_a_g_e:

     recordPlot()
     replayPlot(x)

_A_r_g_u_m_e_n_t_s:

       x: A saved plot.

_D_e_t_a_i_l_s:

     These functions record and replay the displaylist of the current
     graphics device.  The returned object is of class
     '"recordedplot"', and 'replayPlot' acts as a 'print' method for
     that class.

     The format of recorded plots was changed in R 1.4.0: plots saved
     in earlier versions can still be replayed.

_V_a_l_u_e:

     'recordPlot' returns an object of class '"recordedplot"', a list
     with components: 

displaylist: The saved display list, as a pairlist.

    gpar: The graphics state, as an integer vector.


     'replayPlot' has no return value.

