i want to double titles in one graph

3 次查看(过去 30 天)
hello, i want to put two different titles in the designated area of one graph as shown in the picture below.

回答(2 个)

Jan
Jan 2022-2-24
This works using the text() command.

Walter Roberson
Walter Roberson 2022-2-27
Unfortunately the example image has been deleted, so we cannot tell exactly what was being asked for.
However in general, these days title() accepts a second parameter which is a subtitle. If you use the two-output version of title() then you can get the handle to the subtitle text() object to changes its properties if you need to change font size or something like that.

类别

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