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

4 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

Wayne King
Wayne King am 6 Okt. 2011
title()
Just add
title('Here is my title')
before you save the figure.
  2 Kommentare
M G
M G am 6 Okt. 2011
Where to put that?!! I didn't figure out how to use it? Is it the title for the top of figure?
M G
M G am 6 Okt. 2011
OK I got it
Thank you :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by