plot.wst2D            package:wavethresh            R Documentation

_P_l_o_t _p_a_c_k_e_t-_o_r_d_e_r_e_d _2_D _n_o_n-_d_e_c_i_m_a_t_e_d _w_a_v_e_l_e_t _c_o_e_f_f_i_c_i_e_n_t_s.

_D_e_s_c_r_i_p_t_i_o_n:

     This function plots packet-ordered 2D non-decimated wavelet
     coefficients arising from a 'wst2D' object.

_U_s_a_g_e:

     plot.wst2D(wst2D, plot.type="level", main="")

_A_r_g_u_m_e_n_t_s:

   wst2D: The 'wst2D' object whose coefficients you wish to plot.

plot.type: So far the only valid argument is "level" which plots
          coefficients a level at a time.

    main: The main title of the plot.

_D_e_t_a_i_l_s:

     The coefficients in a 'wst2D' object are stored in a
     three-dimensional subarray called 'wst2D'. The first index of the
     3D array indexes the resolution level of coefficients: this
     function with 'plot.type="level"' causes an image of coefficients
     to be plotted one for each resolution level. 

     The following corresponds to images produced on S+ graphics
     devices (e.g. image on 'motif()'). Given a resolution level there
     are '4^(nlevels-level)' packets within a level. Each packet can be
     addressed by a base-4 string of length 'nlevels-level'. A zero
     corresponds to no shift, a 1 to a horizontal shift, a 2 to a
     vertical shift and a 3 to both a horizontal and vertical shift. 

     So, for example, at resolution level 'nlevels-1' there are 4
     sub-images each containing 4 sub-images. The main subimages
     correspond to (clockwise from bottom-left) no shift, horizontal
     shift, both shift and vertical shifts. The sub-images of the
     sub-images correspond to the usual smooth, horizontal detail,
     diagonal detail and vertical detail (clockwise, again from bottom
     left). Coarser resolution levels correspond to finer shifts! The
     following figure demonstrates the 'nlevels-1' resolution level for
     the 'ua' image (although the whole image has been rotated by 90
     degrees clockwise for display here!):

_V_a_l_u_e:

     A plot of the coefficients contained within the 'wst2D' object is
     produced.

_R_E_L_E_A_S_E:

     Version 3.9 Copyright Guy Nason 1998

_S_e_e _A_l_s_o:

     'getpacket.wst2D', 'putpacket.wst2D', 'wst2D', 'wst2D.object'.

_E_x_a_m_p_l_e_s:

     #
     # The above picture is one of a series produced by 
     #
     #plot(uawst2D)
     #
     # Where the uawst2D object was produced in the EXAMPLES section
     # of the help for this-is-escaped-codenormal-bracket43bracket-normal

