?? fig2_pre.m
字號(hào):
if draw_nihe_current_point~=1
draw_nihe_current_point=draw_nihe_current_point-1;
end
x0=month_time([begin_num_want_to_nihe:end_num_want_to_nihe]);
if get(radio2_1,'value')==1%用直線擬合========================================================================================================
if nihe_number==0
y0=project_distchange([begin_num_want_to_nihe:end_num_want_to_nihe],draw_nihe_current_point); %把第i個(gè)點(diǎn)的位移量賦給y
linefunction(x0,y0,draw_nihe_current_point);
elseif length(nihe_number)==1
y0=project_distchange([begin_num_want_to_nihe:end_num_want_to_nihe],nihe_number); %把第i個(gè)點(diǎn)的位移量賦給y
linefunction(x0,y0,nihe_number(draw_nihe_current_point));
elseif length(nihe_number)>1
y0=project_distchange([begin_num_want_to_nihe:end_num_want_to_nihe],nihe_number(draw_nihe_current_point)); %把第i個(gè)點(diǎn)的位移量賦給y
linefunction(x0,y0,nihe_number(draw_nihe_current_point));
end
elseif get(radio2_2,'value')==1%==========================用樣條擬合==============================================================================
before_cigema_squre=str2num(get(edit8,'string'));
y0=project_distchange([begin_num_want_to_nihe:end_num_want_to_nihe],draw_nihe_current_point); %把第i個(gè)點(diǎn)的位移量賦給y
if nihe_number==0
polyfunction(x0,y0,before_cigema_squre,draw_nihe_current_point);
elseif length(nihe_number)==1
polyfunction(x0,y0,before_cigema_squre,nihe_number(draw_nihe_current_point));
elseif length(nihe_number)>1
polyfunction(x0,y0,before_cigema_squre,nihe_number(draw_nihe_current_point));
end
end
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -