New improved version of thlGraphs released! Plots can now be built with THL’s own layering functions. Wrappers use sensible defaults to match the graphical guidelines. This allows more flexibility and options to built all different kinds of plots.
The following functions are now replaced and deprecated:
thlTheme
-> theme_thl
thlColors
palette_thl
: refer to a color palette with a name and
ncolors_thl
: refer to predefined colors with a namecolorset_thl
: refer to predefined groups of colorsthlColorsDisplay
plot_colors
: general color plotting function, shows
also the hex valuesplot_palette_thl
: plots a named color palettethlLinePlot
-> plot_line_thl
These new functions can be used just like the common ggplot2 layer elements.
geom_point_thl
: sets point type to white filled point
and sizegeom_line_thl
: sets line sizegeom_col_thl
: sets border color white and column
widthgeom_bar_thl
: sets border color white and column
widthscale_y_continuous_thl
: sets breaks nicely and formats
numbers on breaks, removes expanding from y-scalescale_x_continuous_thl
: sets breaks nicely and formats
numbers on breaksThe following functions help with other plotting related things.
format_thl
: number formatting in different
languageswaiver_thl
: switch in some functions for using the
default valuescolornames_thl
: list names of predefined colors