📄 pline.html
字号:
<html><head> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=ISO-8859-1"> <title>Contents.m</title><link rel="stylesheet" type="text/css" href="../stpr.css"></head><body><table border=0 width="100%" cellpadding=0 cellspacing=0><tr valign="baseline"><td valign="baseline" class="function"><b class="function">PLINE</b><td valign="baseline" align="right" class="function"><a href="../visual/index.html" target="mdsdir"><img border = 0 src="../up.gif"></a></table> <p><b>Plots line in 2D.
</b></p> <hr><div class='code'><code><span class=help>
</span><br><span class=help> <span class=help_field>Synopsis:</span></span><br><span class=help> h=pline(W,b)
</span><br><span class=help> h=pline(W,b,line_style)
</span><br><span class=help> h=pline(model)
</span><br><span class=help> h=pline(model,options)
</span><br><span class=help>
</span><br><span class=help> <span class=help_field>Description:</span></span><br><span class=help> h=pline(W,b) plots the line in 2D space described implicitely as
</span><br><span class=help> W'*x + b = 0 ,
</span><br><span class=help> where W, x are vectors [2x1] and b is scalar or explicitely as
</span><br><span class=help> y = W*x + b ,
</span><br><span class=help> where W, x and b are scalars.
</span><br><span class=help>
</span><br><span class=help> h=pline(W,b,line_style) defines parameter line_style of plot
</span><br><span class=help> function (default 'k-').
</span><br><span class=help>
</span><br><span class=help> h=pline(model) parameters of the line are given in structure
</span><br><span class=help> model with fields model.W and model.b.
</span><br><span class=help>
</span><br><span class=help> h=pline(model,options) argument options controls apperance
</span><br><span class=help> of the plotted line; options.win [left right top bottom]
</span><br><span class=help> determines window to which the line is plotted and
</span><br><span class=help> options.line_style is described above.
</span><br><span class=help>
</span><br><span class=help> <span class=help_field>Output:</span></span><br><span class=help> h [1x1] handle of plotted line.
</span><br><span class=help>
</span><br><span class=help> <span class=help_field>Example:</span></span><br><span class=help>
</span><br><span class=help> Plot horizontal and vertical axes with dashed line:
</span><br><span class=help> figure; hold on; axis([-1 1 -1 1]);
</span><br><span class=help> pline(inf,0,'--');
</span><br><span class=help> pline(0,0,'--');
</span><br><span class=help>
</span><br><span class=help> Plot Fisher linear discriminat for Riply's data set:
</span><br><span class=help> data = load('riply_trn');
</span><br><span class=help> model = lfld( mlcgmm(data));
</span><br><span class=help> figure; ppatterns(data);
</span><br><span class=help> pline(model);
</span><br><span class=help>
</span><br></code></div> <hr> <b>Source:</b> <a href= "../visual/list/pline.html">pline.m</a> <p><b class="info_field">About: </b> Statistical Pattern Recognition Toolbox
<br> (C) 1999-2003, Written by Vojtech Franc and Vaclav Hlavac
<br> <a href="http://www.cvut.cz">Czech Technical University Prague</a>
<br> <a href="http://www.feld.cvut.cz">Faculty of Electrical Engineering</a>
<br> <a href="http://cmp.felk.cvut.cz">Center for Machine Perception</a>
<br> <p><b class="info_field">Modifications: </b>
<br> 29-apr-2004, VF
<br> 13-july-2003, VF
<br> 20-jan-2003, VF
<br> 8-jan-2003, VF, A new coat.
<br></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -