How can I add a title in in the jpeg- or pdf-format saved file?

1 次查看(过去 30 天)
Hey,
I use saveas(gcf,'filename','pdf') in order to save my figure as pdf file. However, I am not sure ho I can add a title to my Figure to be included in the PDF file when I open it.
Could you give me a hint please? Can I do the same for jpeg files?

采纳的回答

Wayne King
Wayne King 2011-10-6
title()
Just add
title('Here is my title')
before you save the figure.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Title 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by