Skip to contents

TDA's plotr.

Usage

tda_plotr(z, grey_range = c(0, 1), ...)

Arguments

z

value matrix.

grey_range

two greys mapped to the value extremes.

...

passed to tda_run.

Value

path of the PostScript file, invisibly.

Examples

# cells shaded from white (smallest value) to black (largest)
f <- tda_plotr(outer(1:5, 1:5, "+"))
tda_plot_ps(tda_read_ps(f))