EzyFit Function Reference<< Prev | Next >> 
getslope
Slope of the current line.

Description
getslope displays the equation of the current line of the figure. Use 
the menu 'Insert > Line' to draw a line first. getslope allows for 
rough curve fitting "by eye". Use the shortcut Ctrl+G if the Ezyfit 
menu is installed (see efmenu). 
 
Depending of the axis types, the equation of the line will be: 
     Y = N*X+A         for X linear and Y linear 
     Y = A*X^N         for X log and Y log 
     Y = A*EXP(N*X)    for X linear and Y log 
     Y = A+N*LOG(X)    for X log and Y linear (LOG = natural logarithm) 
 
[N, A] = getslope also returns the parameters N and A of the equation. 
 
[N, A] = getslope(OPT) specifies the display mode: 
     'eq'       displays the full equation (by default). 
     'slope'    displays only the slope N. 
     'nodisp'   displays nothing. 
 
See Also
showslope, plotsample, rmfit, efmenu. 

 Previous: fitparamNext: gridc 

2005-2006 EzyFit Toolbox 2.04