WaveletMatrixPlot[dwd]
绘制 DiscreteWaveletData dwd 中的小波矩阵系数的基树.
WaveletMatrixPlot[dwd,r]
绘制高达精细度 r 的系数.
WaveletMatrixPlot[dwd,r,func]
绘制前,应用 func 于系数.
WaveletMatrixPlot
WaveletMatrixPlot[dwd]
绘制 DiscreteWaveletData dwd 中的小波矩阵系数的基树.
WaveletMatrixPlot[dwd,r]
绘制高达精细度 r 的系数.
WaveletMatrixPlot[dwd,r,func]
绘制前,应用 func 于系数.
更多信息和选项
- WaveletMatrixPlot 使用矩阵图的金字塔产生单个图.
- WaveletMatrixPlot[dwd] 等同于 WaveletMatrixPlot[dwd,Automatic],对应于 InverseWaveletTransform 中使用的系数的基.
- 在 Automatic 设置中小波索引是由 dwd["BasisIndex"] 给出.
- dwd 应该从矩阵数据中产生,由 DiscreteWaveletTransform、DiscreteWaveletPacketTransform 或LiftingWaveletTransform 制造.
- 当 dwd 来自于 DiscreteWaveletTransform 或 LiftingWaveletTransform,WaveletMatrixPlot[dwd,r] 绘制高达精细度 r 的基系数,
- 当 dwd 来自于 DiscreteWaveletPacketTransform,WaveletMatrixPlot[dwd,r] 绘制精细度为 r 的所有系数.
- 在 WaveletMatrixPlot[dwd,r,func] 中,各func[coefi,windi] 应生成与 coefi 具有相同维数的数组.
- WaveletMatrixPlot 具有同 MatrixPlot 相同的选项,并有以下改变: [所有选项的列表]
-
Axes True 是否绘制坐标轴 Frame None 是否绘制边框 FrameTicks Automatic 是否绘制边框的刻度 GridLines Automatic 是否绘制网格线 PerformanceGoal $PerformanceGoal 要优化的性能方面 PlotLayout Automatic 使用哪种绘制布局 - 设置 GridLines->Automatic,在邻接系数矩阵间绘制网格线.
- Ticks 和 FrameTicks 的 Automatic 设置绘制与精细度相对应的刻度.
- 设置 Method->"InverseTransform",将绘制每个系数阵列的逆变换.
- WaveletMatrixPlot 返回一个 Graphics 对象.
所有选项的列表
范例
打开所有单元 关闭所有单元基本范例 (2)
dwd = DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2];WaveletMatrixPlot[dwd]WaveletMatrixPlot[dwd, PlotLayout -> "Grid"]dwd = DiscreteWaveletPacketTransform[CrossMatrix[5]];Table[WaveletMatrixPlot[dwd, r, PlotLabel -> r], {r, 3}]范围 (11)
数据 (6)
矩阵数据的 DiscreteWaveletTransform:
dwd = DiscreteWaveletTransform[(| | | | | |
| - | - | - | - | - |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 |
| 1 | 1 | 1 | 1 | 1 |
| 0 | 1 | 1 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 |)];在分层的网格中,绘制矩阵小波系数,其中小波索引作为工具提示:
WaveletMatrixPlot[dwd]绘制的系数是在逆变换中使用的 Automatic 系数:
First /@ dwd[Automatic]使用 WaveletMatrixPlot[dwd,r] 绘制系数高达至精细度 r:
dwd = DiscreteWaveletTransform[DiamondMatrix[32]];Table[WaveletMatrixPlot[dwd, r, PlotLabel -> r], {r, 3}]Table[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, r][{"TreeView", Right}], {r, 3}]矩阵数据的 DiscreteWaveletPacketTransform:
dwd = DiscreteWaveletPacketTransform[CrossMatrix[32], Automatic, 3]DiscreteWaveletData 对象包含每层的系数的全树:
Table[WaveletMatrixPlot[dwd, r, PlotLabel -> r], {r, 3}]包变换的缺省 Automatic 系数与更高的精细度相对应:
dwd = DiscreteWaveletPacketTransform[DiskMatrix[32], Automatic, 3];WaveletMatrixPlot[dwd]WaveletBestBasis 计算系数的不同 Automatic 树:
WaveletMatrixPlot[WaveletBestBasis[dwd]]dwd = DiscreteWaveletTransform[DiskMatrix[32], Automatic, 3];Table[WaveletMatrixPlot[dwd, Automatic, f[#]&, PlotLabel -> f], {f, {Identity, Minus, Exp}}]"Grid" 布局用于绘制 StationaryWaveletTransform 的系数:
swd = StationaryWaveletTransform[Table[Sin[x y / 100], {x, -50, 50}, {y, -50, 50}], SymletWavelet[2], 3]WaveletMatrixPlot[swd]演示 (5)
dwd = DiscreteWaveletTransform[DiskMatrix[32], Automatic, 3];WaveletMatrixPlot[dwd, AxesLabel -> {Subscript[r, x], Subscript[r, y]}, PlotLabel -> "disk matrix"]dwd = DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3];WaveletMatrixPlot[dwd, ColorFunction -> "SolarColors"]WaveletMatrixPlot[dwd, PlotLayout -> "Grid", ColorFunction -> "SolarColors"]dwd = DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3];WaveletMatrixPlot[dwd, Frame -> True]dwd = DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3];WaveletMatrixPlot[dwd, Frame -> True, FrameTicks -> All]dwd = DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3];WaveletMatrixPlot[dwd, GridLinesStyle -> Directive[Dashed, Purple]]推广和延伸 (3)
data = Table[a ^ b, {a, 1, 3}, {b, 0, 8}];MatrixPlot[data, FrameTicks -> None]dwd = DiscreteWaveletTransform[data];WaveletMatrixPlot[dwd]复数数据的 DiscreteWaveletTransform:
dwd = DiscreteWaveletTransform[Table[Exp[I x / y], {x, 10}, {y, 10}]]Table[WaveletMatrixPlot[dwd, Automatic, f[#]&, PlotLabel -> f], {f, {Abs, Arg, Im}}]默认情况下,是用 Re:
{WaveletMatrixPlot[dwd], WaveletMatrixPlot[dwd, Automatic, Re[#]&]}dwd = DiscreteWaveletTransform[Table[Exp[I x / y], {x, 10}, {y, 10}]]WaveletMatrixPlot[dwd, PlotTheme -> "Minimal"]选项 (30)
AspectRatio (1)
指定 AspectRatio 调整绘图的高宽比:
dwd = DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3];{WaveletMatrixPlot[dwd, AspectRatio -> (1/2)], WaveletMatrixPlot[dwd, AspectRatio -> 1]}Axes (1)
ColorFunction (1)
dwd = DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3];WaveletMatrixPlot[dwd, ColorFunction -> Hue]WaveletMatrixPlot[dwd, PlotLayout -> "Grid", ColorFunction -> Hue]WaveletMatrixPlot[dwd, ColorFunction -> "Rainbow"]Frame (1)
FrameTicks (2)
dwd = DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3];WaveletMatrixPlot[dwd, Frame -> True, FrameTicks -> None]WaveletMatrixPlot[dwd, Frame -> True, FrameTicks -> All]WaveletMatrixPlot[dwd, Frame -> True, FrameTicks -> {{True, True}, {False, False}}]WaveletMatrixPlot[dwd, 1, PlotLayout -> "Grid", Frame -> True]dwd = DiscreteWaveletTransform[CrossMatrix[32], Automatic, 3];WaveletMatrixPlot[dwd, Frame -> True, FrameTicks -> {{{1, 3}, None}, {{1}, {2}}}]WaveletMatrixPlot[dwd, Frame -> True, FrameTicks -> {{{{1, "J=1"}, {3, "J=3"}}, None}, {{{1, "Refinement : 1"}}, {{2, "Refinement : 2"}}}}]GridLines (1)
GridLinesStyle (1)
dwd = DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3];WaveletMatrixPlot[dwd, GridLinesStyle -> Dashed]WaveletMatrixPlot[dwd, GridLinesStyle -> {Dashed, Directive[Opacity[0.3], Blue]}]ImageSize (7)
使用已命名尺寸,如 Tiny、Small、Medium 和 Large:
{WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], ImageSize -> Tiny], WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], ImageSize -> Small]}{WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], ImageSize -> 150], WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], AspectRatio -> 1.5, ImageSize -> 150]}{WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], ImageSize -> {Automatic, 150}], WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], AspectRatio -> 2, ImageSize -> {Automatic, 150}]}{WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], ImageSize -> UpTo[200]], WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], AspectRatio -> 2, ImageSize -> UpTo[200]]}WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], ImageSize -> {200, 300}, Background -> StandardBrown]设置 AspectRatioFull 将填充可用空间:
WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], AspectRatio -> Full, ImageSize -> {200, 300}, Background -> StandardBrown]{WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], ImageSize -> {UpTo[150], UpTo[150]}], WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], AspectRatio -> 1.5, ImageSize -> {UpTo[150], UpTo[150]}]}Framed[Pane[WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], ImageSize -> Full, Background -> StandardBrown], {200, 200}]]Framed[Pane[WaveletMatrixPlot[DiscreteWaveletTransform[DiamondMatrix[32], Automatic, 3], AspectRatio -> Full, ImageSize -> {Scaled[0.5], Scaled[0.5]}, Background -> StandardBrown], {200, 200}]]Method (1)
data = GaussianMatrix[ {20, 20}];MatrixPlot[data]dwd1 = StationaryWaveletTransform[data, Automatic, 3];WaveletMatrixPlot[dwd1, Method -> "InverseTransform"]dwd2 = LiftingWaveletTransform[data, Automatic, 3];WaveletMatrixPlot[dwd2, Method -> "InverseTransform"]PlotLayout (1)
PlotLegends (3)
dwd = DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2];WaveletMatrixPlot[dwd, PlotLegends -> Automatic]使用 BarLegend 添加整体图例标签:
dwd = DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2];WaveletMatrixPlot[dwd, PlotLegends -> BarLegend[Automatic, LegendLabel -> "coeff"]]使用 Placed 将图例放在图形上方:
dwd = DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2];WaveletMatrixPlot[dwd, PlotLegends -> Placed[BarLegend[Automatic, LegendLabel -> "coeff"], Below]]PlotTheme (2)
dwd = DiscreteWaveletTransform[Table[Exp[I x / y], {x, 10}, {y, 10}]];WaveletMatrixPlot[dwd, PlotTheme -> "Monochrome"]dwd = DiscreteWaveletTransform[Table[Exp[I x / y], {x, 10}, {y, 10}]]WaveletMatrixPlot[dwd, PlotTheme -> "Monochrome", GridLinesStyle -> White]Ticks (5)
WaveletMatrixPlot[DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2]]WaveletMatrixPlot[DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2], Ticks -> None]WaveletMatrixPlot[DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2], Ticks -> {{1}, {1, 2}}]WaveletMatrixPlot[DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2], Ticks -> {{{1, a}}, {{1, a}, {2, b}}}]WaveletMatrixPlot[DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2], Ticks -> {False, True}]TicksStyle (3)
WaveletMatrixPlot[DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2], TicksStyle -> Directive[Red, 16]]WaveletMatrixPlot[DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2], TicksStyle -> {Directive[Red, 14], Directive[Blue, 14]}]WaveletMatrixPlot[DiscreteWaveletTransform[CrossMatrix[5], Automatic, 2], Ticks -> {{{1, a, .48, Directive[Thick, Green]}}, {{1, a, .24, Directive[Thick, Red]}, {2, b, .24, Directive[Thick, Blue]}}}]属性和关系 (4)
WaveletMatrixPlot 在分层的网格布局中绘制矩阵小波系数:
dwd = DiscreteWaveletTransform[RandomReal[1, {8, 8}]];WaveletMatrixPlot[dwd]dwd[…,"MatrixPlot"] 以单独的矩阵图绘制每个系数:
dwd[Automatic, {"MatrixPlot", ImageSize -> 50}]WaveletMatrixPlot 绘制在逆变换中使用的 Automatic 系数:
dwd = DiscreteWaveletPacketTransform[Sin[HilbertMatrix[16]]];WaveletMatrixPlot[dwd]WaveletBestBasis 选择系数的不同缺省树:
best = WaveletBestBasis[dwd];WaveletMatrixPlot[best]WaveletImagePlot 在分层的网格中显示图像小波系数:
dwd = DiscreteWaveletTransform[[image]];WaveletImagePlot[dwd]WaveletScalogram 绘制具有有颜色指明的数值幅度的向量:
data = Table[2 - 5 t + 5 Exp[-500 (t - 0.5) ^ 2], {t, 0, 1, 0.02}];dwd = DiscreteWaveletTransform[data, Automatic, 3];WaveletScalogram[dwd]WaveletListPlot 绘制具有普通水平或垂直坐标轴的向量系数:
Table[WaveletListPlot[dwd, PlotLayout -> p, PlotLabel -> PlotLayout -> p], {p, {"CommonXAxis", "CommonYAxis"}}]可能存在的问题 (2)
dwd = StationaryWaveletTransform[RandomReal[1, {10, 10}]];WaveletMatrixPlot[dwd, PlotLayout -> "Pyramid"]dwd = DiscreteWaveletTransform[RandomReal[1, {10, 10}]];WaveletMatrixPlot[dwd, PlotLayout -> "Pyramid", Method -> "InverseTransform"]文本
Wolfram Research (2010),WaveletMatrixPlot,Wolfram 语言函数,https://reference.wolfram.com/language/ref/WaveletMatrixPlot.html (更新于 2014 年).
CMS
Wolfram 语言. 2010. "WaveletMatrixPlot." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2014. https://reference.wolfram.com/language/ref/WaveletMatrixPlot.html.
APA
Wolfram 语言. (2010). WaveletMatrixPlot. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/WaveletMatrixPlot.html 年
BibTeX
@misc{reference.wolfram_2026_waveletmatrixplot, author="Wolfram Research", title="{WaveletMatrixPlot}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/WaveletMatrixPlot.html}", note=[Accessed: 16-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_waveletmatrixplot, organization={Wolfram Research}, title={WaveletMatrixPlot}, year={2014}, url={https://reference.wolfram.com/language/ref/WaveletMatrixPlot.html}, note=[Accessed: 16-June-2026]}