TDA's plotcm over a value matrix at the given levels.
Arguments
- z
value matrix.
- levels
contour levels.
- ...
passed to
tda_run.
Examples
# a bowl-shaped surface over an 8 x 8 grid: contours at three heights
z <- outer(1:8, 1:8, function(i, j) (i - 4)^2 + (j - 4)^2)
f <- tda_plotcm(z, levels = c(2, 6, 12))
tda_plot_ps(tda_read_ps(f))