plotFun.grid1: Plot grid (single plot).

View source: R/plotFun.grid1.R

plotFun.grid1R Documentation

Plot grid (single plot).

Description

Plot a figure based on a regular grid, for a single plot.

Usage

plotFun.grid1(x, lon, lat, lonLims, latLims, breaks = breaks,
  palette = palette, cex.main, title.main, lon.points = lon.points,
  lat.points = lat.points)

Arguments

x

matrix to be plotted.

lon

array of longitudes

lat

array of latitudes

lonLims

2-elemtent vector with the range of longitudes to be plotted. By default all the data is plotted.

latLims

2-elemtent vector with the range of latitudes to be plotted. By default all the data is plotted.

breaks

vector of values defining the intervals to be used in the colorbar.

palette

character vector with the colors for the plot. They will be interpolated to match the number of intervals defined by breaks.

cex.main

numeric value giving the title expansion factor. Default: 1.

title.main

character string with the title.

lon.points

vector of longitudes for grid points to be marked in the map.

lat.points

vector of latitudes for grid points to be marked in the map.

Author(s)

Ana Casanueva (16.02.2017)


anacv/plotFun documentation built on June 21, 2022, 10:31 p.m.