create a mesh grid from major and minor values.
given two arrays major_values and minor_values, this function generates a pair of 2D arrays,
representing the major-grid and minor-grid.
the major-grid contains rows of major_values,
and the minor-grid contains columns of minor_values.
create a mesh grid from major and minor values.
given two arrays
major_values
andminor_values
, this function generates a pair of 2D arrays, representing the major-grid and minor-grid.the major-grid contains rows of
major_values
, and the minor-grid contains columns ofminor_values
.Example