Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

add titles above distinct parts of graph

1 visualización (últimos 30 días)
Maria K
Maria K el 21 de Jul. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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.

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 21 de Jul. de 2018
see text(),title(),annotation()

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by