Effacer les filtres
Effacer les filtres

i want to double titles in one graph

4 vues (au cours des 30 derniers jours)
AtoZ
AtoZ le 24 Fév 2022
hello, i want to put two different titles in the designated area of one graph as shown in the picture below.

Réponses (2)

Jan
Jan le 24 Fév 2022
This works using the text() command.

Walter Roberson
Walter Roberson le 27 Fév 2022
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.

Community Treasure Hunt

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

Start Hunting!

Translated by