An ad hoc wrapper for graphics::contour() / graphics::.filled.contour() / graphics::image(). Used internally for projecting landscapes into bivariate morphospaces.

plot_biv_landscape(
  landscape,
  display,
  type,
  levels,
  lwd,
  lty,
  col,
  drawlabels,
  alpha
)

Arguments

landscape

A list containing the results of akima::interp().

display

Either "contour" or "filled.contour".

type

Type of landscape to be plotted. Options are "theoretical" or "empirical".

levels

Levels to be used to create the contours.

lwd

Integer; width of the lines depicting contours.

lty

Integer; type of the lines depicting contours.

col

Colors used to represent the landscape contours.

drawlabels

Logical; should the labels indicating the value of each surface contour be plotted?

alpha

Transparency factor for filled contours.