Code covered by the BSD License  

Highlights from
hackLegend

2.0

2.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 1.42 KB File ID: #15387
image thumbnail

hackLegend

by Doug Hull

 

21 Jun 2007 (Updated 30 Dec 2009)

Changes legend to repeat marker

| Watch this File

File Information
Description

This function will take the handle to a legend and find the children that are lines with markers but no line type (i.e. just a single symbol) and will modify these lines to show three symbols rather than one. This is nice so the legend looks more uniform when you have solids and just markers in the same plot.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
annotation, customization, graphics, legend, lines, marker, markers
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
13 Mar 2008 Yi Cao

It only works on screen. When saving the plot to a file, the legend will change back to the orignal format.

Updates
21 Jun 2007

revised

23 Dec 2009

generating license

30 Dec 2009

copyright

Contact us