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

📄 pltannulus.m

📁 hi i have a huge collection are you interested
💻 M
字号:
rv = linspace(.3,1,50);thv = linspace(pi/4,5*pi/4,50);[r,th]=meshgrid(rv,thv);x = r.*cos(th);y = r.*sin(th);z = peaks(50)+10*x;i = edgeindex(x);% Axis is square so font size must be adjustedset(0,'defaultaxesfontsize',20*12.5/15.9)close allclfpatch(x(i),y(i),'y')hold onh = plt([-1 1],[-1 1],'.');set(h,'Color',get(gcf,'color'))axis equal tightundoplotzeroprint -deps annularregioncloseclfpatch(x(i),y(i),'y')hold onh = plt([-1 1],[-1 1],'.');set(h,'Color',get(gcf,'color'))axis equal tightundoplotzero

⌨️ 快捷键说明

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