plot_mesh: Visualization of the curves

Description Usage Arguments Value Examples

View source: R/varmer.R

Description

Using the data of previous functions (mesh_3 and var_merge), three 3D graphs are realized. Each graph represent in order the variation through the space (longitude and latitude) U,uhat and v.

Usage

1
plot_mesh(U, uhat, v, color_plot, eta_0)

Arguments

U

A data frame representing resulting images in relative coordinates.

uhat

A matrix containing values from the interpolated image with x y and data and the next column structure

x y date1 date2 date3

v

A matrix containing values from the satellite/model based image.

The values of U, uhat and v should correspond to the same pixels in the coordinates matrix.

color_plot

A palette of colors from grDevices.

eta_0

A scalar representing length scale constant.

Value

Three 3D plots representing the variation

Examples

1
2
3
4
5
6
7
8
data(U,"VARMER")
invisible(force(U))
data(uhat,"VARMER")
invisible(force(uhat))
data(v,"VARMER")
invisible(force(v))
eta_0=0.5
plot_mesh(U,uhat,v,topo.colors,eta_0)

VARMER documentation built on Feb. 8, 2021, 1:07 a.m.