Code covered by the BSD License  

Highlights from
sublabel

4.5

4.5 | 2 ratings Rate this file 13 Downloads (last 30 days) File Size: 2.34 KB File ID: #7275
image thumbnail

sublabel

by Jody Klymak

 

26 Mar 2005 (Updated 05 Apr 2005)

Adds text labels a, b, c,... to subplots.

| Watch this File

File Information
Description

When publishing a paper, you need to label your subplots with "a)", "b)", etc in the upper left corner. This routine does it for you with no fuss or muss.

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
29 Mar 2005 hugo ferreira

very good
www.dee.isep.ipp.pt/~e980933

04 Apr 2005 Marcelø Zeri

Works great. In the example given, you need to correct the index for the second subplot and the argument for the second plot command.

% >> haxes(1) = subplot(2,1,1);
% >> plot(1:10);
% >> haxes(2) = subplot(2,1,1);
% >> plot(1::2:20);
% >> htext=sublabel(haxes);

Please login to add a comment or rating.
Updates
29 Mar 2005

Fixed indentation

05 Apr 2005

Fixed docstring per user review

Tag Activity for this File
Tag Applied By Date/Time
annotation Jody Klymak 22 Oct 2008 07:44:20
customization Jody Klymak 22 Oct 2008 07:44:20
graphics Jody Klymak 22 Oct 2008 07:44:20
label Jody Klymak 22 Oct 2008 07:44:20
subplot Jody Klymak 22 Oct 2008 07:44:20
plot Jody Klymak 22 Oct 2008 07:44:20
annotation Michael Kalinkin 15 Jun 2011 03:33:15

Contact us at files@mathworks.com