例子1:
hold on
title('Network Link Usage','FontSize',14);xlabel('each individual node','FontSize',12);%xName
ylabel('percentage of the total available to each node(%)','FontSize',12); %yName
xlim([0.5,numberOfNodes+0.5]);%xRange
colormap winter%冬天的色图
bar(handles.axes1,eachNodeUsage);
X=[0.5:0.01:numberOfNodes+0.5];
plot(handles.axes1,X,100,':r');
legend('include error','exclude error',1);