View License

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

» Watch video

Highlights from

4.5 | 2 ratings Rate this file 6 Downloads (last 30 days) File Size: 1.91 KB File ID: #7275 Version: 1.0
image thumbnail



Jody Klymak (view profile)


26 Mar 2005 (Updated )

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

| Watch this File

File Information

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.


This file inspired Colour Based Segmentation.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
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);

29 Mar 2005 hugo ferreira

very good

29 Mar 2005

Fixed indentation

Contact us