2.0

2.0 | 1 rating Rate this file 20 downloads (last 30 days) File Size: 1.42 KB File ID: #15387

hackLegend

by Doug Hull

 

21 Jun 2007 (Updated 30 Dec 2009)

Code covered by the BSD License  

Changes legend to repeat marker

Download Now | 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)
Zip File Content  
Other Files hackLegend.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
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.

Please login to add a comment or rating.
Updates
21 Jun 2007

revised

23 Dec 2009

generating license

30 Dec 2009

copyright

Tag Activity for this File
Tag Applied By Date/Time
annotation Doug Hull 22 Oct 2008 09:16:49
customization Doug Hull 22 Oct 2008 09:16:49
legend Doug Hull 22 Oct 2008 09:16:49
marker Doug Hull 22 Oct 2008 09:16:49
graphics Doug Hull 22 Oct 2008 09:16:49
lines Doug Hull 22 Oct 2008 09:16:49
markers Doug Hull 22 Oct 2008 09:16:49
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com