Font size in a plot
Altair Forum User
Altair Employee
Hello,
I tried to adjust the font size of text inside a figure using a similar command from MATLAB, but it didn't work.
text(point11(1),point11(2)+0.2,'point11','FontSize',10)
Is FontSize property not available in text function? Also, could it be possible to remove the lines from the text in a plot?
Kind Regards
Berker
0
Answers
-
Hi Berker,
You can set the fontsize using a handle of the text:
handle = text(point11(1), point11(2)+0.2,'point11'); set(handle,'fontsize',20);
A full list of properties like fontsize you can find in help for 'set'.
Ronald
0