setgPars | R Documentation |
Set default graphical parameters
setgPars(type = c("plot", "publish", "shiny"), gPars = list())
type |
(string) plot type. Default: 'plot'. Other options are 'shiny' and 'publish'. |
gPars |
(list) list of graphical parameters to supersede defaults |
A list with the following arguments:
A set of colors
A set of highly transparent colors
Sames as cols_tr with more density
A character specifying the type of plot region to be used; 's' generates a square plotting region and 'm' generates the maximal plotting region (default: 's')
Margins around the plot. The default is c(3,3,3,.5). See graphics::par
.
The margin line (in mex units) for the axis title, axis labels and axis line. The default is c(2,.75,0).
The length of tick marks as a fraction of the height of a line of text. The default is -0.5.
Width of the plotted lines. The default is 4.
A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default. The default value is 4.
A numerical value giving the amount by which the legends should be magnified relative to the default. The default value is 0.7.
A numerical value giving the nominal pixel size for a PNG plot. The default is 1200.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.