stipplem creates a hatch filling or stippling in map coordinates. This function is designed primarily to show regions of statistical significance in spatial maps.
stipplem(lat,lon,mask) stipplem(...,MarkerProperty,MarkerValue,...) stipplem(...,'density',DensityValue) stipplem(...,'resize',false) h = stipplem(...)
stipplem(lat,lon,mask) plots black dots in x,y locations wherever a mask contains true values. Dimensions of x, y, and mask must all match.
stipplem(...,MarkerProperty,MarkerValue,...) specifies any marker properties that are accepted by the plot function (e.g., 'color', 'marker', 'markersize', etc).
stipplem(...,'density',DensityValue) specifies density of stippling markers. Default density is 100, but if your plot is too crowded you may specify a lower density value (and/or adjust the markersize).
stipplem(...,'resize',false) overrides the 'density' option and plots stippling at the exact resolution of the input grid. By default, the grids are resized because any grid larger than about 100x100 would produce so many stippling dots it would black out anything under them.
h = stipplem(...) returns a handle of the plotted stippling objects.
[lat,lon] = cdtgrid(0.25); land = island(lat,lon);
Now initialize a map with bordersm and put default stippling wherever there's land:
Now fill the ocean with a dense grid of tiny green triangle hatches:
This function and supporting documentation were written by Chad A. Greene, August 2018.