I would like to use columnlegend to make my legend appear nicely. Since I need to change the fontsize and -weight, I used the following code:
h = columnlegend(2, p2, 'location', 'southoutside');
h.FontSize = 16;
h.FontWeight = 'bold'
where p2 contains the strings for the legend.
when I look at the properties of h, they changed to the desired values, but they do not change in the plot.
The same happens, when I enter it directly to the legend command:
h = columnlegend(2, p2, 'location', 'southoutside','FontSize',16,'FontWeight','bold');
The image shows my problem. I am using R2016b.
Does someone know how to solve this?