PlotGrid: Plot the grid associated with a particular mapping problem.

View source: R/PlotGrid.R

PlotGridR Documentation

Plot the grid associated with a particular mapping problem.

Description

This function plots a grid associated with the mapping between two paths. This will plot n*2-1 by m*2-1 nodes, associated with each point and segment in each path. This gets quite substantial when the paths have more than a handful of points (5-10), and is only really useful for display and debugging purposes. This is called by CreateMap, which overlays costs over the map on its own.

Usage

PlotGrid(path1,path2)

Arguments

path1

The first path

path2

The second path

Details

Warning–do not use for anything but very small paths, as it will take a long time to draw and be uninterpretable.

Author(s)

Shane T. Mueller and Brandon Perelman

References

See Mueller et al., (2016). https://sites.google.com/a/mtu.edu/mapping/


stmueller/pathmapping documentation built on Nov. 13, 2023, 12:39 p.m.