clc;
clear;
[x y ]=textread('H:\xy.csv' ,'%s %s' );
nn=length(x) ;

for i=2: nn

xx=str2double( x(i) );
yy=str2double( y(i));
plot(xx ,yy,'--p') ;
%plot(xx,yy,'--rs','LineWidth',1, 'MarkerEdgeColor','k', 'MarkerFaceColor','g','MarkerSize',5)
hold on ;
end

xlabel('(x)'); %水平座標名稱
ylabel('(y)'); %垂直座標名稱
grid on;
創作者介紹
創作者 prague12 的頭像
prague12

prague12

prague12 發表在 痞客邦 留言(2) 人氣( 5 )