Dp

From Eigenvector Research Documentation Wiki
Revision as of 08:47, 21 September 2011 by imported>Scott (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Purpose

Adds a diagonal line at 45 degrees (slope of 1) to the current plot

Synopsis

h = dp(lc, flag)

Description

DP can be used to add a line of perfect prediction to plots of actual versus predicted values. Optional input lc can be used to change the line style as in normal plotting (e.g. lc = 'b'). Optional input flag changes the orientation of the diagonal line. Returns handle of line object.

Optional Inputs

  • lc: change the line style as in normal plotting
  • flag: when set to 1, flips the direction of the diagonal line - going from top left axis to bottom right axis.

Outputs

  • h: handle of the line object

See Also

abline, ellps, hline, plttern, pltternf, vline, zline