필터 지우기
필터 지우기

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

조회 수: 16 (최근 30일)
zainab srabony
zainab srabony 2018년 7월 3일
답변: jonas 2018년 7월 3일
  댓글 수: 2
Rik
Rik 2018년 7월 3일
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 2018년 7월 3일
편집: zainab srabony 2018년 7월 3일
this is my code.and i just put text on subplot(1,3,3) in output figure.

댓글을 달려면 로그인하십시오.

답변 (1개)

jonas
jonas 2018년 7월 3일
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')

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by