If you have the Bioinformatics Toolbox, you may be familiar with the suptitle function, which was originally created as a helper function for an in-Toolbox demo. Additionally, and especially if you've been following this blog for a long time, you may be familiar with Ben Barrowes's Toolbox-independent suplabel, which my predecessor Scott Hirsch selected as a Pick-of-the-Week in June of 2005.
This week, I wanted to feature another entry in the "label-your-subplots" category. Us's mtit is, as we've come to expect, solidly implemented, and the syntax is simple, and, in the output variable, provides easy access to changing the properties of the text-containing axes and the label (text) itself.
img = imread('peppers.png');
h = mtit('Here is my Supertitle');
(Pardon the plug for my own exploreRGB; I find it quite useful when I'm analyzing color images. Consider it lagniappe, and grab it if you'd like!)
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.