ggplot changes
Past changes to ggplot
Version 0.4.1
- Minor compatibility changes in order to work with R 2.5.0
Version 0.4
- Many, many tweaks and bug fixes.
- Most grobs now take a weight argument which is passed on to the appropriate statistical transformation.
Version 0.3.3:
- Fixed some bugs in chop, qplot, ggbar, ggboxplot and gg2density.
- Added
ggvline and gghline for drawing vertical and horizontal lines, respectively.
ggboxplot will now draw boxplots in either direction
- Removed annoying black border from saved output
- Added
ggerrorbar to add error bars to a plot (reference implementation provided by Timm Danker, thanks Timm!)
- Fixed a few bugs which prevented you from using character shapes
- Fixed a bug with setting the range of a transformed axis
- Tweaked colour scales again
Version 0.3.2:
- An easy way to save ggplots with sensible defaults:
?ggsave.
- Control the aspect ratio of your plots using
ggopt("aspect.ratio" = 1)
- More plot templates:
?ggmissing, ?ggstructure ?ggorder. Plot templates are a good place to look for example code for making more complicated plots.
- Many data related functions moved in to the reshape package.
Version 0.3:
- A new function,
qplot, to quickly produce basic ggplot graphics using a similar interface to plot.
- A fluctuation plot template, see
?ggfluctuation.
- Some new grob functions: 1D density (
ggdensity), ribbons(ggribbon), stacked and dodged bar charts (ggbar).
- An easy way to set specific aesthetic attributes for an entire grob (eg. blue points, or thicker lines). Just specify the value you want outside of the aesthetics list, eg.
ggpoints(p, colour="blue", size=4).
- Can now setting many previously fixed defaults: background colour, axis label and title text, position of legend, colour of strip label text and background, ... See
?ggopt for more details.
- Functions to make reordering and combining factors easier, see
?reorder_factor and ?combine_factor.
- Some (hopefully) improved defaults for colour scale and scale breaks.
- A full set of scales for mapping the fill colour.
- Legend labels so you can see what variables the legends correspond to.
Version 0.2:
- Plot title and axis labels (use
p$title, p$xlabel, p$ylabel to change)
- Automatic legends
- Option to change the background grid colour, see
?ggplot.options
- Ability to set custom breaks on the axes, see
?pscontinuous
- Introductory vignette, see
vignette(introduction)
- Better documentation (but still working on it)