Try this,
q <- qplot(1:10,1:10,size=I(10)) + scale_y_continuous(expand=c(0,0))
gt <- ggplot_gtable(ggplot_build(q))
gt$layout$clip[gt$layout$name=="panel"] <- "off"
grid.draw(gt)
Related Contents:
- Left align two graph edges (ggplot)
- How to use Greek symbols in ggplot2?
- Remove ‘a’ from legend when using aesthetics and geom_text
- Fixing the order of facets in ggplot
- ggplot2 – bar plot with both stack and dodge
- “for” loop only adds the final ggplot layer
- Plot labels at ends of lines
- Create stacked barplot where each stack is scaled to sum to 100%
- Simpler population pyramid in ggplot2
- How to use an image as a point in ggplot?
- ggplot2: sorting a plot
- Plot with conditional colors based on values in R [duplicate]
- How to plot a function curve in R
- Order Stacked Bar Graph in ggplot [duplicate]
- how to add layers in ggplot using a for-loop
- Extract data from a ggplot
- Formatting dates with scale_x_date in ggplot2
- Controlling the order of points in ggplot2?
- How to install development version of R packages github repository
- Changing line colors with ggplot()
- Bar plot with log scales
- Adding percentage labels to a bar chart in ggplot2
- How do you add a general label to facets in ggplot2?
- How to set multiple legends / scales for the same aesthetic in ggplot2?
- How to display only integer values on an axis using ggplot2
- Printing multiple ggplots into a single pdf, multiple plots per page
- Creating grouped bar-plot of multi-column data in R
- How can I arrange an arbitrary number of ggplots using grid.arrange?
- Pretty ticks for log normal scale using ggplot2 (dynamic not manual)
- Eliminating NAs from a ggplot
- multiple graphs in one canvas using ggplot2
- Lines connecting jittered points – dodging by multiple groups
- How can we make xkcd style graphs?
- Plotting over multiple pages
- Save plot with a given aspect ratio
- How to jitter both geom_line and geom_point by the same magnitude?
- How to reorder a legend in ggplot2?
- Control point border thickness in ggplot
- Multiple ggplots of different sizes
- Fill region between two loess-smoothed lines in R with ggplot
- Improve centering county names ggplot & maps
- Saving a graph with ggsave after using ggplot_build and ggplot_gtable
- Using different scales as fill based on factor
- Center Plot title in ggplot2
- Boxplot show the value of mean
- R knitr Markdown: Output Plots within For Loop
- ggplot geom_point() with colors based on specific, discrete values
- Generating Multiple Plots in ggplot by Factor
- Wrong order of y axis in ggplot barplot
- Any way to make plot points in scatterplot more transparent in R?