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

📄 plotzero.m

📁 hi i have a huge collection are you interested
💻 M
字号:
function plotzero(linestyle)%PLOTZERO(linestyle) To plot a set of axes at the current zero position.%%                   Andrew Knight, Oct, 1992%if nargin == 0  linestyle = '-';endax = axis;holdstate = ishold;if ~ishold   hold onendbgcolour = get(gcf,'color');if bgcolour==[0.5 0.5 0.5]   colour = rand(1,3);else   colour = 1 - bgcolour;endh = plot([ax(1) 0;ax(2) 0],[0 ax(3);0 ax(4)]);set(h,'color',colour,'linestyle',linestyle)axis(ax)% Restore old hold stateif holdstate==0   hold offend

⌨️ 快捷键说明

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