ggplot2
ggplot2 offset scatterplot points
I have two sets of points with error bars.I would like to offset the second so it\'s displayed slightly down from the first set, so that it doesn\'t obscure the original.[详细]
2023-03-23 06:32 分类:问答ggplot2 - printing plot balloons memory
Is it expected that printing a large-ish ggplot to PDF will cause the RSession memory to balloon?开发者_StackOverflowI have a ggplot2 object that is around 72 megabytes.My RSession grows to over 2 gig[详细]
2023-03-23 03:32 分类:问答Making pgfsweave work with all ggplot2 plots
Have run into a problem using ggplot2 and pgfsweave(+Lyx). When I run my code in R, I get a nice plot with coloured/shaded tiles, and those tiles do not appear when running via pgfsweave. Note that ot[详细]
2023-03-22 17:45 分类:问答gradient breaks in a ggplot stat_bin2d plot
I have a 2d histogram created with stat_bin2d in the ggplot2 package. I\'d like to control both the number of breaks in the color gradient, as well as where those breaks are located. I\'m sure I\'m ju[详细]
2023-03-22 12:54 分类:问答How to change points and add a regression to a cloudplot (using R)?
To make clear what I\'m asking I\'ve created an easy example. Step one is to create some data: gender <- factor(rep(c(1, 2), c(43, 41)), levels = c(1, 2),labels = c(\"male\", \"female\"))[详细]
2023-03-22 11:43 分类:问答Continuous and Dashed Lines using ggplot
I have a set of coordinates (x, y) = (0, 2), (1, 3), (1, 2), (2, 4)(this is a simplified example) Whenever there is an increase in the y-ordinate, I would like to join the coordinates by a continu[详细]
2023-03-22 09:34 分类:问答ggplot2 - Shade area above line
I have some data that is constrained below a 1:1 line.I would to demonstrate this on a plot by lightly shading the area ABOVE the line, to draw the attention of the viewer to the area beneath the line[详细]
2023-03-22 05:46 分类:问答How do I change the background color of a plot made with ggplot2
By default, ggplot2 produces plots with a grey background.How do I change the color of the background of the plot?[详细]
2023-03-21 16:55 分类:问答Change order of ggplot2 bars with dates on x axis
I have the following data and am trying to create a barplot in R with ggplot2 which have values associated with date values[详细]
2023-03-21 08:35 分类:问答Extend x-limits using ggplot in R
I\'m currently trying to plot a histogram with an overlay (given by my_fun) using the following code.[详细]
2023-03-21 05:22 分类:问答