WaveletScalogram

WaveletScalogram[wd]

plots wavelet vector coefficients in a DiscreteWaveletData or ContinuousWaveletData object wd.

WaveletScalogram[wd,wind]

plots wavelet coefficients corresponding to the wavelet index specification wind.

WaveletScalogram[wd,wind,func]

applies func to coefficients before plotting.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Plot a discrete wavelet scalogram:

Plot a continuous wavelet scalogram:

Scope  (10)

DiscreteWaveletData  (6)

Plot a discrete wavelet scalogram:

The vertical axis represents refinement level and the horizontal axis represents time:

Use Full ticks to expand the labels on the vertical axis:

Specify wavelet indices to plot:

Show wavelet transform as a tree:

The second argument is used to specify wavelet indices:

Scale wavelet coefficients before plotting:

The third argument is used to specify a scaling function:

A scalogram gives a visual representation of a wavelet transform:

Perform a wavelet transform:

Darker colors indicate larger coefficients and lighter colors indicate smaller coefficients:

Use WaveletListPlot to complement a scalogram:

Color variations in the scalogram can be better visualized using WaveletListPlot:

WaveletScalogram works on DiscreteWaveletData generated from any transform:

Plot a scalogram for DiscreteWaveletTransform and DiscreteWaveletPacketTransform:

Plot a scalogram for StationaryWaveletTransform and StationaryWaveletPacketTransform:

ContinuousWaveletData  (4)

Plot a continuous wavelet scalogram:

The vertical axis represents scales and the horizontal axis represents time:

Use Full ticks to expand the labels on the vertical axis:

Specify wavelet indices to plot:

The second argument is used to specify wavelet indices:

Scale wavelet coefficients before plotting:

The third argument is used to specify a scaling function:

A single frequency shows up as a horizontal band at the equivalent scale:

Multiple frequencies show up as multiple bands at the equivalent scales:

Options  (18)

AxesOrigin  (2)

The Automatic setting for AxesOrigin is set to {0,0}:

Coordinates for vertical axes start from 0 at the bottom:

Put the axis origin at and , which is indicated by the 5^(th) refinement level:

ColorFunction  (3)

Blend two colors:

Reverse a color function:

Color by scaled coordinate:

ColorFunctionScaling  (2)

No argument scaling on the left; automatic scaling on the right:

To use ColorFunction with a wider range, set ColorFunctionScaling to False:

Frame  (3)

Draw a frame around a plot:

Put a frame on specific edges:

Put a frame on left and right edges:

Put a frame on bottom and top edges:

Specify overall frame style, including the frame, frame ticks, and frame tick labels:

FrameTicks  (3)

Place frame ticks on all the edges:

Use Full ticks to draw labels indicating octaves and voices {oct,voc} on the vertical axis:

Label frame ticks to indicate octaves:

Specify overall frame ticks style, including frame tick labels, using FrameTicksStyle:

GridLines  (3)

Put grid lines across the scalogram:

Specify location for grid lines:

Specify overall grid lines style:

Method  (2)

Use a nonlinear raster function as used by MatrixPlot:

Invert wavelet coefficients of DiscreteWaveletData:

Applications  (2)

WaveletScalogram can be used to visualize discontinuities:

Plot scalogram for only detail coefficients:

Visualize time scale representation of multiple frequencies:

Higher frequencies are resolved at lower octaves and lower frequencies at higher octaves:

Properties & Relations  (2)

Ticks->Automatic indicates refinement level for DiscreteWaveletData on the vertical axis:

Ticks->Full indicates wavelet index specification:

Ticks->Automatic indicates refinement level for ContinuousWaveletData on the vertical axis:

Ticks->Full indicates wavelet octave and voice specification:

Neat Examples  (2)

Draw contours over WaveletScalogram:

Use ListPlot3D to visualize a wavelet scalogram in three-dimensional space:

Wolfram Research (2010), WaveletScalogram, Wolfram Language function, https://reference.wolfram.com/language/ref/WaveletScalogram.html.

Text

Wolfram Research (2010), WaveletScalogram, Wolfram Language function, https://reference.wolfram.com/language/ref/WaveletScalogram.html.

CMS

Wolfram Language. 2010. "WaveletScalogram." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WaveletScalogram.html.

APA

Wolfram Language. (2010). WaveletScalogram. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WaveletScalogram.html

BibTeX

@misc{reference.wolfram_2024_waveletscalogram, author="Wolfram Research", title="{WaveletScalogram}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/WaveletScalogram.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_waveletscalogram, organization={Wolfram Research}, title={WaveletScalogram}, year={2010}, url={https://reference.wolfram.com/language/ref/WaveletScalogram.html}, note=[Accessed: 21-November-2024 ]}