plotImage {GPFDA}R Documentation

Draw an image plot for a given two-dimensional input

Description

Draw an image plot for a given two-dimensional input

Usage

plotImage(
  response,
  input,
  realisation = 1,
  n1,
  n2,
  main = " ",
  zlim = NULL,
  cex.axis = 1,
  cex.lab = 2.5,
  legend.cex.axis = 1,
  font.main = 2,
  cex.main = 2,
  legend.width = 2,
  mar = c(2.1, 2.1, 3.1, 6.1),
  oma = c(0, 1, 0, 0),
  nGrid = 200,
  enlarge_zlim = NULL
)

Arguments

response

Data to be plotted (e.g. matrix of predictions)

input

Matrix of two columns representing the input coordinates.

realisation

Integer identifying which realisation should be plotted (if there are multiple).

n1

Number of datapoints in the first coordinate direction

n2

Number of datapoints in the second coordinate direction

main

Title for the plot

zlim

Range of z-axis

cex.axis

Graphical parameter

cex.lab

Graphical parameter

legend.cex.axis

Graphical parameter

font.main

Graphical parameter

cex.main

Graphical parameter

legend.width

Graphical parameter

mar

Graphical parameter

oma

Graphical parameter

nGrid

Dimension of output grid in each coordinate direction

enlarge_zlim

Additional quantity to increase the range of zlim

Value

A plot

Examples

## See examples in vignette:
# vignette("gpr_ex2", package = "GPFDA")

[Package GPFDA version 3.1.3 Index]