Main Content

General Features

Some features of the Wavelet Toolbox™ graphical user interface are

  • Color coding

  • Connectedness of plots

  • Using the mouse

  • Controlling the colormap

  • Controlling the number of colors

  • Controlling the coloration mode

  • Customizing graphical objects

  • Zooming in on plots

  • Using menus

  • Using View Axes button

  • Using Interval Dependent Threshold Settings tool


    In this appendix, axis (or axes) refers to the MATLAB® graphic object.

Color Coding

In all the graphical tools, signals and analysis components are color coded as follows.


Shown In



Reconstructed or synthesized



Variegated shades of blue

(high level = darker)


Variegated shades of green

(high level = darker)

Connection of Plots

Plots containing related information and graphed on the same abscissa are connected in the sense that manipulations performed on one plot affect all others in the same way. For images, the connection holds in both abscissa and ordinate. You can manipulate all plots along an individual axis (X or Y) or you can manipulate all plots along both axes at the same time (XY).

For example, the approximations and details shown in the separate mode view of a decomposition all respond together when any of the plots is magnified or zoomed.

Click and drag your mouse over the region you want to zoom. Clicking XY+ results in the zoom being applied to all the plots.

  • Zoom in on relevant detail.

    One advantage of using the graphical interface tools is that you can zoom in easily on any part of the signal and examine it in greater detail.

    Drag a rubber band box (by holding down the left mouse button) over the portion of the signal you want to magnify. Here, we've selected the noisy part of the original signal.

    Click the X+ button (located at the bottom of the screen) to zoom horizontally.

    The Wavelet 1-D tool zooms all the displayed signals.

    The other zoom controls do more or less what you'd expect them to. The X- button, for example, zooms out horizontally. The history function keeps track of all your views of the signal. Return to a previous zoom level by clicking the left arrow button.

  • Zooming in on Detail

    Drag a rubber band box (by holding down the left mouse button) over the portion of the image you want to magnify.

    Click the XY+ button (located at the bottom of the screen) to zoom horizontally and vertically.

  • The History pane enables you to remember how you zoom the axes so that you can toggle back and forth between views.

Using the Mouse

Wavelet Toolbox software uses three types of mouse control.

Left Mouse Button

Middle Mouse Button

Right Mouse Button

Make selections. Activate controls.

Display cross-hairs to show position-dependent information.

Translate plots up and down, and left and right.


The functionality of the middle mouse button and the right mouse button can be inverted depending on the platform.

Making Selections and Activating Controls

Most of your work with Wavelet Toolbox graphical tools involves making selections and activating controls. You do this using the left (or only) mouse button.

Translating Plots

By holding down the right mouse button (or its equivalent on a one- or two-button mouse), you can move the mouse to draw a rectangle in either a horizontal or vertical orientation. Releasing the middle mouse button then causes the plot to shift horizontally (or vertically) by an amount proportional to the width (or height) of the rectangle.

Displaying Position-Dependent Information

When you hold down the middle mouse button (or its equivalent on a one- or two-button mouse), a cross-hair cursor appears over the graph or plot. Position-dependent information also appears in the Info box located at the bottom center of the tool. The type of information that appears depends on what tool you are using and the plot in which your cursor is located..

Controlling the Colormap

The Colormap selection box, located at the lower right of the window, allows you to adjust the colormap that is used to plot images or coefficients (wavelet or wavelet packet).

This is more than an aesthetic adjustment because you are likely to see different features depending on your colormap selection.

Controlling the Number of Colors

The Nb. Colors slider, located at the bottom right of the window, allows you to adjust how many colors the tool uses to plot images or coefficients (wavelet or wavelet packet). You can also use the edit control to adjust the number of colors. Adjusting the number of colors can highlight different features of the plot.

Consider the coefficients plot of the Koch curve generated in the Continuous Wavelet tool, shown here using 129 colors.

and here using 68 colors.

Controlling the Coloration Mode

In the Continuous Wavelet tools, the coloration of coefficients can be done in several different ways.

Coloration mode — Three parameters are used color the coefficients.

  • init or current — When you select init, coloration is performed with all the coefficient values. When you select current, only the coefficients displayed in the current axis limits are used.

  • by scales or all scales — When you select by scale, the coloration is done separately for each scale. When you select all scales, all scales are used.

  • abs — When you select abs, the absolute values of the coefficients are used.

In the Wavelet 1-D tool, you access coefficients coloration with the More Display Options button, and then select the desired Coloration Mode option.

The More Display Options button appears only when the Display mode is one of the following — Show and Scroll, Show and Scroll (Stem Cfs), Superimposed, and Separate). In this case, scales are replaced by levels in all options of the Coloration Mode menu.

Using Menus

General Menu Bar

At the top of most windows you find the same kind of structure. The menu bar of each figure in Wavelet Toolbox software is very similar to the menu bar of the default MATLAB figures. You can use many of the tools that are offered in the menus and associated toolbar of the standard MATLAB figures.

One of the main differences is the View menu, which depends on the current tool used.

View Dynamical Visualization Tool Option.  The View > Dynamical Visualization Tool option lets you enable or disable the Dynamical Visualization Tool located at the bottom of each window.

Enabling the Dynamical Visualization Tool activates the zoom, center, history, and axes options at the bottom of the interactive tool.

Before using Zoom In, Zoom Out, or Rotate 3D options (or the equivalent icons from the toolbar), you must disable the Dynamical Visualization Tool to avoid possible conflicts.

Default Display Mode Option.  The Default Display Mode option is specific to the Wavelet 1-D tool and lets you set a default Display Mode for all the different analyses you perform inside the same tool.

Using the View Axes Button

The Dynamical Visualization Tool is located at the bottom of most of the windows in the Wavelet Toolbox software. In this tool, the View Axes toggle button lets you magnify the axis that you choose.

The toggle buttons in the View Axes figure are positioned so that you can understand which axis is correlated with a button.

When you click the same toggle button again, you restore the original view.

Clicking the View Axes toggle button again closes the View Axes figure.