⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 make_point.m

📁 matlab 双坐标轴 参考时请根据需要适当修改
💻 M
字号:
axis([0 10 -3 3]);
hold on
xy=[];
n=0;
disp('Left mouse button picks points.');
disp('Right mouse button picks last points.');
but=1;
while but==1
    [xi,yi,but]=ginput(1);
    plot(xi,yi);
    n=n+1;
    xy(:,n)=[xi;yi];
end
t=1:n;
ts=1:0.1:n;
xys=spline(t,xy,ts);
plot(xys(1,:),xys(2,:),'b-','linewidth',2);
hold off

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -