📄 fig2_next.m
字号:
if nihe_number==0
if draw_nihe_current_point~=No
draw_nihe_current_point=draw_nihe_current_point+1;
end
else
if draw_nihe_current_point~=length(nihe_number)
draw_nihe_current_point=draw_nihe_current_point+1;
end
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个点的位移量赋给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个点的位移量赋给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个点的位移量赋给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个点的位移量赋给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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -