ggplot2
ggplot2 and sweave - plot is in Rplots instead of main pdf?
I\'ve been following the examples on similar posts, but to no avail. Here is an example of the problem I\'m seeing.[详细]
2023-04-13 04:09 分类:问答Conditional Merge in R Data Frame using a String as a search
I am prepping a database for plotting in ggplot where I will plot a large geom_point() plot. I would like one set of point to stand out and was thinking of making a dummy column so that I could use th[详细]
2023-04-12 21:49 分类:问答How can I extract plot axes' ranges for a ggplot2 object?
I have an object from ggplot2, say myPlot, h开发者_运维技巧ow can I identify the ranges for the x and y axes?[详细]
2023-04-12 07:38 分类:问答save yaxis legends as a separate grob?
I have a very large scatterplot of two categories where a dot is a \"hit.\" I wanted to make histograms across the top and side of the plot to represent the hits as seen on the following website: http[详细]
2023-04-11 17:03 分类:问答Write a function that returns a vector of ggplot2 graphs
I have this project where I want to make the same plots for a variety of different data frames. I was thinking I could do this by writing a function that takes a data frame as an input and then return[详细]
2023-04-10 23:02 分类:问答Plot average line in a facet_wrap
I have the following data set: structure(list(Geschaeft = c(0.0961028525512254, 0.0753516756309475, 0, 0.0722803347280335, 0, 0.000877706260971328), Gaststaette = c(0.0981116914423463,[详细]
2023-04-10 20:22 分类:问答Any way to extend the line in the legend?
Let us say I have the following graph plotted using ggplot: Is there anyway to extend how much line length is开发者_开发百科 displayed in the legend? Sometimes, it just gets impossible to identify[详细]
2023-04-10 15:56 分类:问答Unable to filter a data frame?
I am using something like this to filter my data frame: d1 = data.frame(data[data$ColA == \"ColACat1\" & data$ColB == \"ColBCat2\", ])[详细]
2023-04-10 15:27 分类:问答Time series plot with groups using ggplot2
I have an experiment where three evolving populations of yeast have been studied over time. At discrete time points, we measured their growth, which is the response variable. I basically want to plot[详细]
2023-04-10 05:49 分类:问答Replacing ggplot2 legend key for geom_line with symbol
I have a line plot of prices for three stocks, which I normalise by taking the percentage change from the beginning of the period I am looking at. This seems to work fine, but instead of the coloured[详细]
2023-04-09 23:05 分类:问答