We respect your right to privacy. You can choose not to allow some types of cookies. Your cookie preferences will apply across our website.
Types of graphs & colour palettes.

plot_ functions of 6 broad types in grafify.bar graphs: as scatter (also called jitter) or dot plots. The plot_scatter... versions are preferred when there are many data points, plot_dot... versions have a “cleaner” layout for smaller datasets: plot_scatterbar_sd, plot_dotbar_sd, plot_bar_sd, plot_point_sd
box and whiskers plots: plot_scatterbox, plot_dotbox
violin & box-whiskers plots: plot_scatterviolin, plot_dotviolin

plot_3d...) or two (plot_4d_...) categorical X and a numeric Y variable.plot_3d_scatterbar, plot_4d_scatterbarplot_3d_scatterbox, plot_4d_scatterboxplot_3d_scatterviolin, plot_4d_scatterviolin
plot_xy_NumGroup, plot_xy_CatGroup (new since v0.2.0)
plot_befafter_colours (or plot_befafter_colors) plot_befafter_shapes
plot_qqline, plot_density plot_histogram, and plot_qqmodel (for model residuals)
plot_qqmodel or the predictions from the model with plot_lm_model or plot_gam_predict.
The following arguments can be changed (where available)
symsize or dotsizesymthick or dotthick to change thickness of symbols on the plotbwid and ewid, respectivelyfontsizetrim (TRUE or FALSE) and scaling with scale, which can be "area", "count" or "width".alpha parameter to increase transparency of bars or box plots (with b_alpha), violins (v_alpha), symbols (s_alpha) or dots (d_alpha); default set to 1 (i.e. opaque). Reduce alpha to make symbols more transparent when there are overlapping data points.ColPal. The choice of colours from within a given palette can be sequential or not (set using ColSeq as TRUE or FALSE). In addition, order of colours can be reversed (with ColRev set to TRUE or FALSE). See colour lists in the vignette on colour palettes.TextXAngle argument.jitter argument. When set to 0 there is no jitter (vertically aligned symbols; this is new in v1.4.1).SingleColour argument can be used to add a single colour to the X variable for all symbols/bars/violins/boxes. Sequential or distant colours are chosen via the ColSeq argument, and colour order reversed with ColRev.All plot_... functions apply the all_grafify colour scheme by default, which can be changed to the following using the ColPal argument.
Also see the Colour Palettes vignettes to use grafify colour schemes with ggplot2 using scale_fill... and scale_colour... functions.

plot_ functions (and grafify in general).plot_ functions is a ggplot2 object with theme_classic() with base font size of 20. Sizes of graphs and fonts may be system-dependent, increase/decrease as necessary.plot_ objects and can receive additional layers of geometries, labels, facets, colour schemes, or others, as necessary.ggsave from ggplot2 package (type ?ggsave for help). Also see suggestions on saving grafify plots here.? (e.g. ?plot_dotbar).table_x_reorder to reorder categorical groups along the X-axis.table_summary.