View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Custom Marker Plot

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0 | 3 ratings Rate this file 14 Downloads (last 30 days) File Size: 9.54 KB File ID: #39487 Version: 1.0
image thumbnail

Custom Marker Plot



This simple code enables you to plot using custom markers.

| Watch this File

File Information

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.

MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
27 Sep 2016 Chhavi Yadav

can i put an image instead of the cross sign?

I want to move the image of a car on a road that is basically made using the plot and fill commands.

18 Jul 2015 Andrew Tan

@Royi Anital, you can get the demo to work by setting rHex = 1.

Comment only
18 Jul 2015 Andrew Tan


24 May 2015 Royi Avital

I tried running the demo and I get an error - "Undefined function or variable 'rHex'.". Any idea?

Comment only
30 Jun 2014 William

Great time saver, thank you for the submission!

Contact us