File Exchange

image thumbnail

sublabel

version 1.0.0.0 (1.91 KB) by Jody Klymak
Adds text labels a, b, c,... to subplots.

3 Downloads

Updated 05 Apr 2005

View License

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.

Comments and Ratings (2)

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);

hugo ferreira

Updates

1.0.0.0

Fixed docstring per user review

Fixed indentation

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Colour based segmentation