matlab

来源:互联网 发布:伪基站软件 编辑:程序博客网 时间:2024/04/26 18:46
function suishituplot(data)close all;[m,n]=size(data);xmax=m+1;ymax=max(data(:))+1;colo=colour();for i=1:n    hn=plot(data(:,i));    fig_name='碎石图';    fig_title='碎石图';    xlabel_name='成分数';    ylabel_name='特征值';    filename='总碎石图.png';    figplot(hn,fig_name,fig_title,xlabel_name,ylabel_name);    set(hn,'color',colo(i,:));    %set(hn,'Marker','o','MarkerEdgeColor','b');    hold on;endhold off;xlim([0,xmax]);ylim([-1,ymax]);% axis auto;export_fig(filename);


                                             
0 0
原创粉丝点击