Skip to contents

Plot function to visualize downscale results

Usage

LUC_plot(
  res,
  rasterfile,
  year = NULL,
  LU = NULL,
  color = "Greens",
  label = "Area in ha per pixel"
)

Arguments

res

Result from downscale

rasterfile

RasterLayer object

year

Specify dates of results to plot (has to be in res)

LU

Specify land-use of results to plot (has to be in res)

color

Pixel color on the map

label

Label of plot legend

Value

A list containing

  • LUC.plot A ggplot object

  • plot.df A dataframe used for constructing LUC.plot

Examples

## A basic example