Example 2 - PeterRochford/MarkerTransparency GitHub Wiki
A second example of how to create a simple plot containing markers that are semi-transparent. The Matlab code is kept to a minimum.
This example shows how to produce a plot of sine and cosine functions containing markers with a blending of symbol face color of alpha = 0.3. A value of alpha = 0.0 produces a transparent face color while a value of alpha = 1.0 makes it opaque. The marker size is increased to improve appearance. The example plot is written to a file in Portable Network Graphics (PNG) format.
Function Dependencies: legendMarkers, rgb, rgba, and setMarkerColor.