Borrar filtros
Borrar filtros

how can i add text inside subplot(1,3,3) writing code

16 visualizaciones (últimos 30 días)
zainab srabony
zainab srabony el 3 de Jul. de 2018
Respondida: jonas el 3 de Jul. de 2018
  2 comentarios
Rik
Rik el 3 de Jul. de 2018
What is your actual question?
Have a read here and here. It will greatly improve your chances of getting an answer.
zainab srabony
zainab srabony el 3 de Jul. de 2018
Editada: zainab srabony el 3 de Jul. de 2018
this is my code.and i just put text on subplot(1,3,3) in output figure.

Iniciar sesión para comentar.

Respuestas (1)

jonas
jonas el 3 de Jul. de 2018
Here are two methods. In the first one, x and y refers to the axis coordinates. Make sure you set the current axis to the correct subplot
text(x,y,'text')
In the second one, x and y refers to the figure coordinates
annotation('textbox',[x y w h],...
'string','text',...
'linestyle','none')

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by