Matlab boxplot properties
问题 I'm trying to plot this box plot like this: I tried this code: boxplot(randn(10,98)','notch','on') set(0,'DefaultAxesFontName', 'Cambria Math') ylabel('Normalized Parameter'); set(gca,'FontSize',14,'fontWeight','bold'); set(gca,'TickLabelInterpreter','tex'); set(gca,'XTickLabel',{'a_{0}','a_{1}','a_{2}','a_{3}','a_{4}','b_{1}','b_{2}','b_{3}','b_{4}','w'}) color = 'b'; h = findobj(gca,'Tag','Box'); for j=1:length(h) patch(get(h(j),'XData'),get(h(j),'YData'),color,'FaceAlpha',1); end lines =