search for: ggplot_plot

Displaying 2 results from an estimated 2 matches for "ggplot_plot".

2007 May 12
2
Implicit vs explicit printing and the call stack
...c(x) 10: unit(range(at), "native") 9: ggaxis_line(at, position) 8: ggaxis(.$y()$breaks(), .$y()$labels(), "left", range$y) 7: get("guide_axes", env = coordinates, inherits = TRUE)(coordinates, ...) 6: coordinates$guide_axes() 5: guides_basic(plot, scales, cs) 4: ggplot_plot(x, ...) 3: grid.draw(ggplot_plot(x, ...)) 2: print.ggplot(list(data = list(mpg = c(21, 21, 22.8, 21.4, 18.7, 18.1, 14.3, 24.4, 22.8, 19.2, 17.8, 16.4, 17.3, 15.2, 10.4, 10.4, 14.7, 32.4, 30.4, 33.9, 21.5, 15.5, 15.2, 13.3, 19.2, 27.3, 26, 30.4, 15.8, 19.7, 15, 21.4), cyl = c(6, 6, 4, 6, 8,...
2008 Jan 15
1
navigating ggplot viewports
list(...) I can not get at the grid viewports in a ggplot2 plot. I know there is supposed to be a viewport called "panel_1_1" but downViewport() can't find it. Has the viewport been popped? I had a quick look at the functions involved (eg ggplot_plot) but there is no obvious problem there. > library(ggplot2) > qplot(1:10, 1:10) > current.viewport() viewport[ROOT] > downViewport("panel_1_1") Error in downViewport.vpPath(vpPathDirect(name), strict, recording = recording) : Viewport 'panel_1_1' was not found > c...