Display the title of a plot as a colored tab
tab.title.Rd
Display the title of a plot as a colored tab.
Arguments
- label
The title for the plot.
- text.col
The color for the title text.
- tab.col
The color for the tab fill.
- border
The color for the tab border.
- lwd
The line width for the border.
- cex
Character expansion for the title.
- pad.mult
How much higher to make the tab relative to the label.
- radius
What proportion of the tab corners to round off.
Details
tab.title displays the plot title in a colored tab. The tab can be rounded at the upper corners by specifying the proportion of the tab height to be rounded as a number between 0 and 1. If the tab is too high to fit on the figure region, a warning will be displayed and the tab will still be shown.