Skip to contents

TDA's plotsp.

Usage

tda_plotsp(x, y, ...)

Arguments

x, y

coordinates.

...

passed to tda_run.

Value

path of the PostScript file, invisibly.

Examples

# a smooth curve through five points that zigzag between 0 and 1
f <- tda_plotsp(x = c(0, 1, 2, 3, 4), y = c(0, 1, 0, 1, 0))
tda_plot_ps(tda_read_ps(f))