powered by
Function that plots the 2D elevation map generated by an OCN.
draw_elev2D_OCN(OCN, colPalette = terrain.colors(1000, alpha = 1), addLegend=TRUE)
List as produced by landscape_OCN.
landscape_OCN
Color palette used for the plot.
Logical. If TRUE, image.plot is used to display the legend; as a result, elements (e.g. node coordinates) subsequently plotted of on top of the 2D elevation map might be wrongly positioned.
TRUE
image.plot
No output is returned.
# NOT RUN { # 1) draw 2D map of a 20x20 OCN with default settings draw_elev2D_OCN(landscape_OCN(OCN_20)) # }
Run the code above in your browser using DataLab