plotLongVector          package:HilbertVis          R Documentation

_A _s_i_m_p_l_e _f_u_n_c_t_i_o_n _t_o _p_l_o_t _a _v_e_r_y _l_o_n_g _v_e_c_t_o_r.

_D_e_s_c_r_i_p_t_i_o_n:

     This function does basically the same as just calling 'plot(vec)'
     but is much faster in case of a very long vector. This is because
     it first calls 'shrinkVector'.

_U_s_a_g_e:

     plotLongVector(vec, offset = 1, shrinkLength = 4000, xlab = "", ylab = "", type = "h", ...)

_A_r_g_u_m_e_n_t_s:

     vec: The numerical vector to be plotted 

  offset: The x axis is labelled with numbers from 'offset' to
          'offset+length(vec)-1'. 

shrinkLength: To which length to shrink the vector before plotting it.
          Should be at least the width of your plot in pixels.

    xlab: The label of the x axis, to be passed to 'plot'. 

    ylab: The label of the y axis, to be passed to 'plot'. 

    type: The plot type, to be passed to 'plot'. By default, type 'h',
          i.e., needles, are used. 

     ...: Further arguments to be passed to 'plot'.

_V_a_l_u_e:

     Invisible Null and a plot.

_A_u_t_h_o_r(_s):

     Simon Anders, EMBL-EBI, sanders@fs.tum.de

_E_x_a_m_p_l_e_s:

     plotLongVector( rep( 1:100000, 20 ) )

