Learn R Programming

VARMER (version 1.0.0)

plot_mesh: Visualization of the curves

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

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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab