Learn R Programming

SpherWave (version 1.2.2)

mesh: Creation of M by N grid

Description

This function creates M by N longitude-latitude grid.

Usage

mesh(M, N)

Arguments

M
M longitudes of M by N grid
N
N latitudes of M by N grid

Value

theta
latitudes in radian of M by N longitude-latitude grid
phi
longitudes in radian of M by N longitude-latitude grid

Details

This function creates M by N longitude-latitude grid.

Examples

Run this code
mesh(100, 50)

Run the code above in your browser using DataLab