Write in subplot below image

조회 수: 2 (최근 30일)
Dani D
Dani D 2016년 3월 14일
답변: Image Analyst 2016년 3월 14일
Hello, Can i write something in subplot?for example calculate with formula and then result write in subplot under two image?(not title)

답변 (1개)

Image Analyst
Image Analyst 2016년 3월 14일
You'll have to use uicontrol() to create a static text control. Then you can use set() to send strings to it
hText = uicontrol(.....
string = sprintf('The value = %f', yourValue);
set(hText, 'String', string);
In uicontrol, be sure to set your Font, FontSize, and, especially, Position property.

카테고리

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