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

📄 hline.m

📁 偏最小二乘算法在MATLAB中的实现
💻 M
字号:
function hline(x,lt)
%HLINE Adds a horizontal line to current graph at specified location
%  I/O syntax is: hline(x) where x is the specified location
%  Note: HLINE will leave the plot in the original hold state.
z = axis;
i = ishold;
hold on
if nargin == 1
  plot([z(1) z(2)],[x x],'-g')
else
    plot([z(1) z(2)],[x x],lt)
end
if i == 0
  hold off
end

⌨️ 快捷键说明

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