hexVP-class              package:hexbin              R Documentation

_F_o_r_m_a_l _c_l_a_s_s "_h_e_x_V_P" _o_f _a _H_e_x_a_g_o_n _V_i_e_w_p_o_r_t

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

     Hexagon Viewports are "value-added" grid viewports (see
     'viewport') where the extra slots contain scaling and "embedding"
     information.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects are typically created by calls to 'hexViewport()' or by
     low level calls of the form 'new("hexVP", ...)'.

_S_l_o_t_s:

     '_h_e_x_V_p': Object of class '"viewport"', see 'viewport'.

     '_m_a_r': 'unit' vector of four margins (typically in '"lines"').

     '_f_i_g': 'unit' vector of two figure sizes (typically in '"npc"').

     '_p_l_t': 'unit' vector of two figure sizes (typically in '"npc"').

     '_x_s_c_a_l_e': numeric of length two specifying x-scaling.

     '_y_s_c_a_l_e': numeric of length two specifying y-scaling.

_M_e_t_h_o_d_s:

     These are methods accessing the slots of corresponding name.

     _g_e_t_F_i_g 'signature(hvp = "hexVP")': ... 

     _g_e_t_M_a_r_g_i_n_s 'signature(hvp = "hexVP")': ... 

     _g_e_t_P_l_t 'signature(hvp = "hexVP")': ... 

     _g_e_t_X_s_c_a_l_e 'signature(hvp = "hexVP")': ... 

     _g_e_t_Y_s_c_a_l_e 'signature(hvp = "hexVP")': ... 

_A_u_t_h_o_r(_s):

     Nicholas Lewin-Koh kohnicho@comp.nus.edu.sg.

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

     The constructor function 'hexViewport'. 'hexbin', and its S4
     plotting method, 'gplot.hexbin'.

_E_x_a_m_p_l_e_s:

      example(hexViewport, echo=FALSE)
      ## continued:
      str(P$plot.vp)

