New Plots Based on 'ggplot2' and Functions to Create Regular Shapes

An extension to 'ggplot2' with miscellaneous functions. It contains two groups of functions: Functions in the first group draw 'ggplot2' - based plots: gg_shading_bar() draws barplot with shading colors in each bar. geom_rect_cm(), geom_circle_cm() and geom_ellipse_cm() draw rectangles, circles and ellipses with centimeter as their unit. Thus their sizes do not change when the coordinate system or the aspect ratio changes. Functions in the second group generate coordinates for regular shapes and make linear transformations.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.0 by Jiang Wu, 11 days ago

Browse source code at

Authors: Jiang Wu [aut, cre] (from Capital Normal University)

Documentation:   PDF Manual  

GPL-3 license

Imports plyr, ggfittext, magick, grid, gridExtra

Depends on ggplot2

See at CRAN