plot_segments: Plot segments

Description Usage Arguments Details Value

Description

Plot the input matrix together with the segment boundaries.

Usage

1
plot_segments(A, bounds, ...)

Arguments

A

a matrix generated e.g. by the make_01model function.

bounds

the list of bounds as returned by the dp_segment function.

Details

Takes the bounds output of the dynamic programming algboritm and converts this to a list of tiles. Every tile is a list with components R, a, b, and W, where W is the weight of the tile.

Value

Nothing


bwrc/semigeom-r documentation built on May 13, 2019, 9:20 a.m.