hist画完直方图之后,hold on, 然后画直线:x=normrnd(10,0.1,1,1000); %生成1000个随机数 hist(x,50); %直方图 hold on;plot([10,10],[0,70],'r'); %画直线
怎么在MATLAB中画出两条竖线夹着三根横线的图标 hist画完直方图之后,hold on, 然后画直线:x=normrnd(10,0.1,1,1000); %生成1000个随机数hist(x,50); %直方图hold on;plot([10,10],[0,70],'r'); %画直线