source: MML/trunk/machine/SOLEIL/common/toolbox/ezyfit/ezyfit/html/selectfit.html @ 4

Last change on this file since 4 was 4, checked in by zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 3.7 KB
Line 
1<html><head><title>selectfit (Ezyfit Toolbox)</title>
2<!-- Help file for selectfit.m generated by makehtmldoc 1.22, 04-Feb-2009 23:32:41 -->
3<!-- makehtmldoc (F. Moisy, 2005-2006), see http://www.fast.u-psud.fr/~moisy/ml/ -->
4 
5<link rel=stylesheet href="docstyle1.css" type="text/css">
6</head>
7<body bgcolor=#ffffff>
8<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td valign=baseline bgcolor="#e7ebf7"><b>EzyFit Function Reference</b></td><td valign=baseline bgcolor="#e7ebf7" align=right><a href="rmfit.html"><b>&lt;&lt; Prev</b></a>&nbsp;|&nbsp;<a href="semilogypn.html"><b>Next &gt;&gt;</b></a>&nbsp;</td></tr></table>
9<font size=+3 color="#990000">selectfit</font><br>
10Fit part of the data from the active curve (remove outliers)<br>
11<br>
12 
13<font size=+1 color="#990000"><b>Description</b></font>
14<code><pre>
15<b>selectfit</b> displays the fit specified in a dialog box for the data
16selected from the active curve by drawing a lasso. Use the left mouse
17button to draw the lasso. Use <a href="undofit.html">undofit</a> or <a href="rmfit.html">rmfit</a> to remove the fit.
18The default display settings are defined in the file <a href="fitparam.html">fitparam</a>.
19 
20*** Note: This function is not fully stable.
21    If you use Matlab &gt;= 7.6, it is encouraged to use
22    <a href="showfit.html">showfit</a> with the "Data Brushing" mode instead of <b>selectfit</b>.
23    <b>selectfit</b> will be removed in future releases of EzyFit.
24 
25By default, the first curve in the active figure is used (see <a href="fitparam.html">fitparam</a> 
26to change this default behavior). To fit another curve, select it
27before calling <b>selectfit</b>.
28 
29<b>selectfit</b>(FUN) specifies the fitting string FUN. FUN may be either a
30default fit (eg, 'exp', 'power'), a user-defined fit (see <a href="editfit.html">editfit</a>),
31or directly a fit equation (eg, 'c+a*exp(-x/x0)'). See <a href="ezfit.html">ezfit</a> for the
32syntax of FUN. FUN may also be any valid interpolation method string
33(eg 'spline', 'cubic'... excepted 'linear'). See INTERP1 for the valid
34interpolation methods.
35 
36<b>selectfit</b>(F) use the equation defined in the fit structure F.
37 
38<b>selectfit</b>(..., 'PropertyName','PropertyValue',...) specifies the
39properties of the fit (e.g., fit colors, line width etc.). See the
40default values in the file <a href="fitparam.html">fitparam</a>.
41 
42F = <b>selectfit</b>(...) also returns the fit structure F. F has the same
43content as the fit structure returned by <a href="ezfit.html">ezfit</a> (see <a href="ezfit.html">ezfit</a> for details),
44and also contains a handle to the equation box and to the curve.
45 
46Note that if the option 'lin' or 'log' is not specified in the string
47FUN, <b>selectfit</b> checks the Y-scale of the current figure to determine
48whether Y or LOG(Y) has to be fitted.
49 
50</pre>
51<font size=+1 color="#990000"><b>Examples</b></font>
52<pre>
53 
54   plotsample power
55   <b>selectfit</b>('power; log');
56 
57   plotsample poly2
58   f = <b>selectfit</b>('z(v) = poly3','fitcolor','red','fitlinestyle',':');
59   editcoeff(f);
60 
61</pre>
62<font size=+1 color="#990000"><b>See Also</b></font>
63<pre>
64<a href="showfit.html">showfit</a>, <a href="ezfit.html">ezfit</a>, <a href="undofit.html">undofit</a>, <a href="rmfit.html">rmfit</a>, <a href="plotsample.html">plotsample</a>, SELECTDATA, INTERP1.
65 
66Published output in the Help browser
67   showdemo <b>selectfit</b> 
68</pre></code>
69 
70<br>
71<table width="100%" border=0 cellspacing=0 bgcolor="#e7ebf7"><tr><td>&nbsp;<a href="rmfit.html"><b>Previous: rmfit</b></a></td><td align=right><a href="semilogypn.html"><b>Next: semilogypn</b></a>&nbsp;</td></tr></table><br>
722005-2009 <a href="ezyfit.html">EzyFit Toolbox 2.30</a><br>
73<br>
74</body></html>
Note: See TracBrowser for help on using the repository browser.