Top "Ggplot2" questions

ggplot2 is an actively maintained open-source chart-drawing package for R, written by Hadley Wickham, based upon the principles of "Grammar of Graphics". It partially replaces R's basic plot and the lattice package, while providing a clean, powerful, orthogonal and fun API.

facet label font size

Is there a way to change the font size of facet labels in ggplot? I googled and found that the …

r ggplot2
Explain ggplot2 warning: "Removed k rows containing missing values"

I get this warning when I am trying to generate a plot with ggplot. After researching online for a while …

r ggplot2
ggplot2 plot area margins?

Is there an easy way to increase the space between the plot title and the plot area below it (the …

r ggplot2 data-visualization
remove legend title in ggplot

I'm trying to remove the title of a legend in ggplot2: df <- data.frame( g = rep(letters[1:2], 5), x = …

r ggplot2
Fixing the order of facets in ggplot

Data: df <- data.frame( type = c("T", "F", "P", "T", "F", "P", "T", "F", "P", "T", "F", "P"), …

r ggplot2 sequence facet
Transform only one axis to log10 scale with ggplot2

I have the following problem: I would like to visualize a discrete and a continuous variable on a boxplot in …

r ggplot2 boxplot scaletransform
ggplot2, change title size

I would like to have my main title and axis title have the same font size as the annotated text …

r data-visualization ggplot2
ggplot2 legend to bottom and horizontal

How can I move a ggplot2 legend to the bottom of the plot and turn it horizontally? Sample code: library(…

r ggplot2
Is there a way to change the spacing between legend items in ggplot2?

Is there a way to change the spacing between legend items in ggplot2? I currently have legend.position ="top" which …

r ggplot2 legend
How to use Greek symbols in ggplot2?

My categories need to be named with Greek letters. I am using ggplot2, and it works beautifully with the data. …

r graphics unicode utf-8 ggplot2