This can be useful for plotting comet trails, radar/sonar tracks, travel trajectories, etc. Matlab plot markers with color and transparency gradients > set(hMarkers,'FaceColorBinding','interpolated', 'FaceColorData',colorData) > set (hMarkers, 'FaceColorBinding', 'interpolated', 'FaceColorData',colorData ) > hMarkers.FaceColorData' % 4-element uint8 arrayĪs we can see, we can separately attach transparency values to the marker’s edges and/or faces.
> hMarkers.EdgeColorData' % 4-element uint8 array
> hMarkers = hLine.MarkerHandle % a .Marker object FaceColorData' % 4-element uint8 array ans = EdgeColorData' % 4-element uint8 array ans =