Set font size for point ROI label

3 views (last 30 days)
bamboo
bamboo on 1 Apr 2021
Commented: Eric Delgado on 7 Jun 2021
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);

Answers (1)

Reshma Nerella
Reshma Nerella on 8 Apr 2021
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 Comment
Eric Delgado
Eric Delgado on 7 Jun 2021
Please put in the "same box" two others limitations: fontname and position of a roi object Label.
Thansk!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!