melodyplot               package:tuneR               R Documentation

_P_l_o_t_t_i_n_g _a _m_e_l_o_d_y

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

     Plot a observed melody and (optional) an expected melody,  as well
     as corresponding energy values (corresponding to the loudness of
     the sound).

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

     melodyplot(object, observed, expected = NULL, bars = NULL, 
         main = NULL, xlab = NULL, ylab = "note", xlim = NULL, ylim = NULL, 
         observedcol = "red", expectedcol = "grey", gridcol = "grey",
         lwd = 2, las = 1, cex.axis = 0.9, mar = c(5, 4, 4, 4) + 0.1)

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

  object: An object of class 'Wspec'.

observed: Observed notes, probably as a result from 'noteFromFF' (or a
          smoothed version). This should correspond to the 'Wspec'
          'object'.

expected: Expected notes (optional; in order to compare results).

    bars: Number of bars to be plotted (a virtual static segmentation
          takes place). If 'NULL' (default), time rather than bars are
          used.

    main: Main title of the plot.

    xlab: Annotation of x-axis.

    ylab: Annotation of y-axis.

    xlim: Range of x-axis.

    ylim: Range of y-axis.

observedcol: Colour for the oberved melody.

expectedcol: Colour for the expected melody.

 gridcol: Colour of the grid.

     lwd: Line width, see 'par' for details.

     las: Orientation of axis labels, see 'par' for details.

cex.axis: Size of tick mark labels, see 'par' for details.

     mar: Margins of the plot, see 'par' for details.

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

     Uwe Ligges, ligges@statistik.uni-dortmund.de

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

     'noteFromFF', 'FF'

