Description Usage Arguments Details Value See Also
The plotting functions tisPlot
and
scatterPlot
leave an object named latestPlot
in the
frame from which they were called. tisLegend
uses that object
to set legend arguments (which you can override) and sets reasonable
defaults for other arguments.
1 2 |
... |
optional arguments to be passed on to |
xrel, yrel |
Optional numbers between 0 and 1 to specify placement relative to the boundaries of the plot. |
xjust, yjust, ncol |
passed along to |
boxType |
passed along as |
cex |
gets multiplied by the |
This function is not strictly necessary, in that you could just
call legend
directly. tisLegend
makes things a
bit easier, however, by using the same argument names as
tisPlot
and scatterPlot
to specify color
,
lineType
, plotChar
and boxType
, rather than the
less intuitive col
, lty
, pch
and bty
names. The xrel
and yrel
arguments provide an
alternative way to specify legend placement, one that is used by the
ChartMaker program.
a list of the arguments that were sent on to legend
, with
class "tisLegend"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.