Example 3 - PeterRochford/MarkerTransparency GitHub Wiki

A third example of how to create plots containing markers that have varying transparency.

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, 0.3, and 1.0. A value of alpha = 0.0 produces a transparent face color while a value of alpha = 1.0 makes it opaque. The purpose of this example is to show the changes in the markers as the transparency is varied. The example plot is written to a file in Portable Network Graphics (PNG) format.

Function Dependencies: legendMarkers, rgb, rgba, and setMarkerColor.