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.

