Program: MKLSGRIDPLOTTRILAYER
mklsgridplottrilayer.......plot single layer of triangular search grid
call: handle=mklsgridplottrilayer(lsopt,layer,mode);
lsopt: (struct)
LOCSMITH options structure as returned by MKLSOPT
layer: (struct)
one layer of a triangular LOCSMITH search grid
mode: (string)
plot mode
This string defineshow to plot the grid. Several options
exist:
'none': no plot is generated.
'cloud': point cloud: just the nodes themselves, using
the dot-marker, creates a line object.
'mesh': wire frame plot, creates a patch object
'surface': surface plot, creates a patch object
'meshmap': map wire frame mesh as map plot according,
to map options in lsopt.mapopt.
Just plots the node mesh. It is assumed that a base
map with topography etc. already exists!
'cloudmap': as 'meshmap', but does not plot edges between
nodes. All nodes are plotted with the same color.
'fitcloudmap': as 'cloudmap', but color of nodes is
determined according to the .fit field
of the layer.
uses open symbols for inacceptable nodes and
filled symbols for acceptable ones.
'fitsurface': as 'surface', but color of nodes is determined
according to the .fit field of the layer.
'fitcloud': as 'cloud', but color of nodes is determined
according to the .fit field of the layer.
uses open symbols for inacceptable nodes and
filled symbols for acceptable ones.
Map plots use the layer radius (in km) as vertical
coordinate. This guarantees that layers are separated and in
the correct order.
result: handle: (numeric array) handles to the created graphics objects.
The type of the generated graphics object depends on the
MODE parameter. please check the types before using the
handles!
Note that this routine does NOT set hold "on"!
Plot appearance is controlled by several values defined in MKLSCONSTANTS:
Transparency, FaceColor, EdgeColor, SphereFacets
Martin Knapmeyer, 10.09.2004, 20.03.2007, 09.05.2007
Read M-File Source Code
eof.