plot2D.arr | R Documentation |
Plots a rank-3 array T_{m, n, p}
which has to be 3-slice, hence p \in \{1, 2, 3\}
.
The actual image matrix/data is T_{m, n, 1}
.
The X-matrix is T_{m, n, 2}
.
The Y-matrix is T_{m.n.3}
.
Please see details for clearer understanding of array structure.
plot2D.arr(arr, gray.dens = 10^5, x.lab = NULL, y.lab = NULL)
plot2D.arr(arr)
arr |
The array, |
gray.dens |
The no. of colours in the gray colour scale between 0 and 1 that the matrix plot of |
x.lab |
The x-axis label. |
y.lab |
The y-axis label. |
The image below describes the 3-slice rank-3 array T_{m,n,p}
that is needed.
The function returns nothing
Chitran Ghosal
img_2_arr
dat <- system.file("extdata", "STM.png", package = "StatsChitran")
tens <- img_2_arr(source.png = dat, x.lim = c(0, 6.115*10^-9), y.lim = c(0, 6.115*10^-9))
plot2D.arr(arr = tens)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.