MATLAB Answers

Set font size for point ROI label

3 ビュー (過去 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