This function provides a means to set default parameters for functions
in eulerr. Query eulerr_options()
(without any
argument) to see all the available options and read more about
the plot-related ones in grid::gpar()
and graphics::par()
.
eulerr_options(...)
objects to update the global graphical parameters for eulerr with.
This function gets or sets updates in the global environment
that are used in plot.euler()
.
Currently, the following items will be considered:
size in pts to be used as basis for fontsizes and some margin sizes in the resulting plot
a list of items fill
and alpha
a list of items col
, alpha
, lex
, lwd
, and lty
a list of items rot
,
col
, alpha
, fontsize
, cex
, fontfamily
, fontface
,
lineheight
, and font
a list of items type
, rot
,
col
, alpha
, fontsize
, cex
, fontfamily
,
lineheight
, and font
col
, alpha
, fontsize
, cex
, fontfamily
,
lineheight
, and font
arguments to grid::legendGrob()
as well as col
, alpha
,
fontsize
, cex
, fontfamily
, lineheight
, and font
arguments to grid::textGrob()
a grid::unit()
giving the padding between various
elements in plots from plot.euler()
, which you can change
if you, for instance, want to increase spacing between labels,
quantities, and percentages.
eulerr_options(edges = list(col = "blue"), fontsize = 10)
eulerr_options(n_threads = 2)