FYI tightfig is not a built-in function
Tightfig messes up sgtitle
4 次查看(过去 30 天)
显示 更早的评论
I am using sgtitle to put a title over a group of plots. The over all code is pretty long but generally speaking this is what i'm doing.
tightfig(fh);
sgtitle(['Generated With Plot Generator Version ', varargin{1,1}.ToolRevision.String],'FontSize',10,'Color',[0.5 0.5 0.5])
However, when I do this the title shows up in the middle of some sub capability plots as shown in this snippet.
![tight.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/218759/tight.png)
I have also tried putting sgtitle before tightfig but that does not yield any better of a result.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!