Info

この質問は閉じられています。 編集または回答するには再度開いてください。

add titles above distinct parts of graph

1 回表示 (過去 30 日間)
Maria K
Maria K 2018 年 7 月 21 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello!
Does anyone know how to add titles above two parts of a graph and maybe also include hooks like the ones shown in the image I have appended? I simply want the lila hooks and the titles "ph2","ph3" but I have no idea how this could be done. To get the rest of the image i used the following code:
plot(tpoints_final, howmany_final);
set(gca, 'YLim', [1, alltrials]);
until = ceil(tpoints_final(end));
set(gca, 'XLim', [0, until]);
hold on
plot(xlim, [1 1]*45, '--b');
Thanks on advance!!
~M.

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2018 年 7 月 21 日
see text(),title(),annotation()

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by