Description Usage Arguments Value Examples
Given a learned dictionary D (m by p) matrix, this function plots all p atoms of D corresponding to p columns. Each column is mapped to a m1 by m2 small pactch.
1 2 |
D |
Dictionary of size m by p |
n1, n2 |
(Optional) Number of patches to be displayed in each column and each row. If specified, both n1 and n2 have to be specified. |
m1, m2 |
(Optional) Size of the small patch to be mapped. Default is m1=m2=sqrt(m). If specified, both n1 and n2 have to be specified. |
title |
Title of the plot. |
color |
(Optional) If TRUE, the plot is generated using tim.colors() option. If FALSE, the plot is generated using gray scale. Default is FALSE. |
background |
(Optional) Backgroup color. Default is black. |
Plot will be generated.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.