Change parameters in a gtTheme to create a new theme.
setTheme(
from = NULL,
title = NULL,
box = NULL,
xAxis = NULL,
yAxis = NULL,
grid = NULL,
legend = NULL,
scale = NULL,
parameters = NULL
)[gtTheme] a gtTheme object to modify.
[named list(3)]
plot [logical], whether or not to plot the title
fontsize [numeric]
colour [character]
[named list(5)]
plot [logical]
fillcol [character]
linewidth [numeric]
linetype [character]
linecol [character]
[named list(5)]
plot [logical]
bins [numeric], into which to separate the tick labels
margin [numeric], proportion (0 - 1) of the plot that shall be taken by the margin
label [named list(5)]
plot [logical]
title [character]
fontsize [numeric]
colour [character]
rotation [numeric]
ticks [named list(5)]
plot [logical]
fontsize [numeric]
colour [character]
rotation [numeric]
digits [numeric], number of digits to round non-integer values to
[named list(5)]
plot [logical]
bins [numeric]
margin [numeric]
label [named list(5)]
plot [logical]
title [character]
fontsize [numeric]
colour [character]
rotation [numeric]
ticks [named list(5)]
plot [logical]
fontsize [numeric]
colour [character]
rotation [numeric]
digits [numeric]
[named list(5)]
plot [logical]
minor [logical], whether or not to plot the minor grid
colour [character]
linetype [character]
linewidth [numeric]
[named list(10)]
plot [logical]
bins [logical]
ascending [logical], order of values
position [logical] (currently only "right" possible)
orientation [logical] (currently only "vertical" possible)
xRatio [logical], ratio between the legend and the plot-box
yRatio [character]
digits [numeric]
label [named list(3)]
plot [logical]
fontsize [numeric]
colour [character]
box [named list(4)]
plot [logical]
linetype [character]
linewidth [numeric]
colour [character]
[named list(6)]
param [logical] and
to [logical], specifying which parameter shall be scale to
which attribute
identity [logical]
range [numeric], that shall be represented by the
scale
bins [numeric], into which the values shall be classified
maxPixels [numeric]
[named list(6)]
colours [character], between which to scale (must be at least two, but can be as many as required)
missingcol [character]
linetype [character]
linewidth [numeric]
pointsize [numeric]
pointsymbol [numeric]
# NOT RUN {
input <- gtRasters$continuous
(myTheme <- setTheme(title = list(plot = FALSE)))
visualise(input, theme = myTheme)
# }
Run the code above in your browser using DataLab