Modifying font size for pie chart lables
问题 I am using a simple script for a pie chart, but I am unable to change the font size of the pie labels. Is there an easy way to change it? Below is my plotting code: h = pie ([0.1,0.1,0.1,0.1,0.1], {"unlikely","possible","likely","very likely","certain"}); y = 0; n = 1; colormap([1 1 n; %// unlikely 1 1 y; %// possible 1 1 y; %// likely 1 1 y; %// very unlikely 1 1 n;]) %// certainly ax = gca(); set(ax,'fontsize', 18); view([270, -90]) 回答1: The variable h contains an array of five Patch