rosavent              package:climatol              R Documentation

_W_i_n_d-_r_o_s_e _p_l_o_t

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

     Plot of a wind-rose. Wind frequencies may be supplied by speed
     intervals, and can be absolute or relative.

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

       rosavent(frec, fnum = 4, fint = 5, flab = 2, ang = 3 * pi/16,
         col = rainbow(10, 0.5, 0.92, start = 0.33, end = 0.2),
         margen = c(0, 0, 4, 0), key = TRUE, uni = "m/s", ...)

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

    frec: Wind frequencies.

    fnum: Number of reference circumferences to plot.

    fint: Frequency steps (in %) between reference circumferences.

    flab: Parameter indicating which circumferences must be labelled:

          _1: Label outer circumference only,

          _2: Label all circumferences,

          _O_t_h_e_r _v_a_l_u_e: Do not label any circumference.

     ang: Angle along which circumferences will be labelled.

     col: Colors to fill the frequency polygons.

  margen: Margins vector for the plot (to be passed to 'par').

     key: Set to FALSE if you do not want a legend of the wind-rose,
          that will otherwise be plotted if frequencies are supplied by
          speed intervals.

     uni: Speed units for the legend header.

     ...: Other graphic parameters.

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

     The number of direction classes is indifferent: As many as
     elements of the frequency vector (or columns of the matrix) will
     be considered, but the first element (column) must correspond to
     North. Frequencies will be converted to percentages, no matter how
     they were supplied.

_V_a_l_u_e:

     No value is returned by this function.

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

     'plot', 'par'

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

       data(windfreq.dat)
       rosavent(windfreq.dat,4,4,ang=-3*pi/16,main="Annual windrose")

