MATLAB Answers

Set font size for point ROI label

조회 수: 4(최근 30일)
bamboo
bamboo 2021년 4월 1일
댓글: Eric Delgado 2021년 6월 7일
I can't find how to change the font size for the label on a point ROI. The docs for drawpoint() include an option for setting the marker size, but not the font size (and there doesn't seem to be a 'FontSize' property). Is there is another way to adjust the font size? The ROI is overlayed on an image in a figure, like so:
figure, imshow(background);
pointROI = drawpoint(gca, 'Position', [x, y], 'Label', myName, 'Color', 'y', 'LabelAlpha', 0.4);

답변(1개)

Reshma Nerella
Reshma Nerella 2021년 4월 8일
Hi,
Currently, we do not have any argument to set the font size for the label in drawpoint function. I have brought this issue to the concerned people and it might be considered in any future release.
  댓글 수: 1
Eric Delgado
Eric Delgado 2021년 6월 7일
Please put in the "same box" two others limitations: fontname and position of a roi object Label.
Thansk!

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by