Dp: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Adds a diagonal line at 45 degrees (slope of 1) to the current plot | Adds a diagonal line at 45 degrees (slope of 1) to the current plot | ||
===Synopsis=== | ===Synopsis=== | ||
:h = dp(''lc, flag'') | :h = dp(''lc, flag'') | ||
===Description=== | ===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'). Returns handle of line object. | 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'). Returns handle of line object. | ||
===See Also=== | ===See Also=== | ||
[[ellps]], [[hline]], [[plttern]], [[vline]], [[zline]] | [[ellps]], [[hline]], [[plttern]], [[vline]], [[zline]] |
Revision as of 15:25, 3 September 2008
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'). Returns handle of line object.