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

Custom Marker Plot

by

 

This simple code enables you to plot using custom markers.

| Watch this File

File Information
Description

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 (4)
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

Thanks!

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