This simple code enables you to plot using custom markers. It uses custom patches instead of Matlab built-in markers.
As the input, you need to provide x and y for the data points, like you do in regular plots. You also need to provide x and y data for your custom marker, assuming the center of the marker is at (0,0). You need to also provide the scale for your marker, which is analogous to Matlab's marker size.