DrawContourlines           package:OCplus           R Documentation

_D_r_a_w _a_n_d _l_a_b_e_l _a _s_e_t _o_f _p_r_e-_c_a_l_c_u_l_a_t_e_d _i_s_o_l_i_n_e_s

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

     This function  draws and labels isolines computed by
     'contourLines', though the labelling is done very clumsily and
     with a specialized application in mind.

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

     DrawContourlines(x, label = FALSE, cex = 0.7, vfont = c("sans serif", "bold"), ...)

_A_r_g_u_m_e_n_t_s:

       x: a list of isolines as produced by 'contourLines'.

   label: a logical value indicating whether to label the isolines.

     cex: size of labels

   vfont: a vector font specification for the labels as in 'contour'.

     ...: extra arguments to 'lines'

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

     This routine is used by 'Tornadoplot' and 'Volcanoplot' to draw
     and label isolines that were computed via contourLines and
     afterwards transformed. The problem is that all the nice options
     that 'contour' has for labelling isolines are not avaiable
     independently, so this function uses the following crude procedure
     that kind of works for the intended applications: 

   _i_s_o_l_i_n_e _c_o_m_p_l_e_t_e_l_y _l_e_f_t _o_f _z_e_r_o label the leftmost point;

   _i_s_o_l_i_n_e _c_o_m_p_l_e_t_e_l_y _r_i_g_h_t _o_f _z_e_r_o label the rightmost point;

   _i_s_o_l_i_n_e _c_r_o_s_s_e_s _z_e_r_o _h_o_r_i_z_o_n_t_a_l_l_y label the topmost point.

     Hopefully, one of these days someone will come up with a nice
     general-purpose function for doing all the nifty stuff that
     'contour' offers.

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

     A. Ploner

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

     'contour', 'contourLines', 'Tornadoplot'

