ggplot2
Overplotting from different data frames in ggplot2
My objective is to plot the path of a river with points indicating important sites near the river. I have two data frames, giving the river and site coordinates respectively:[详细]
2023-04-06 22:25 分类:问答ggplot2 - draw logistic distribution with small part of the area colored
I have following code to draw my logistic distribution: x=seq(-2000,2000,length=1000) dat <- data.frame(x=x)[详细]
2023-04-06 21:46 分类:问答Strange legend using aes(colour) in ggplot2
I have this code: x <- seq(-600, 600, length=10000) dat1 <- data.frame(x=x, SD=400, val = (1/(1+10^(-x/400))))[详细]
2023-04-06 17:05 分类:问答Rounding % Labels on bar chart in ggplot2
q1 <- qplot(factor(Q1), data=survey, geom=\"histogram\", fill=factor(Q1), ylim=c(0,300)) options(digits=2)[详细]
2023-04-06 13:40 分类:问答showing utf-8 character in chart generated by ggplot2
I want to use the symbol (u+2265): in the y-axis label of my chart. 开发者_运维技巧How can I do that? Thanks.[详细]
2023-04-06 09:12 分类:问答Draw a chronological timeline with ggplot2
I have data like data = as.data.frame(rbind(c(\"1492\", \"Columbus sailed the ocean blue\"), c(\"开发者_StackOverflow中文版1976\", \"Americans listened to Styx\"),[详细]
2023-04-06 01:45 分类:问答ggplot2: time scale graphing question
I have a some GPS data from my Garmin I\'d like to graph time scaled. I found some example on the \'net for using ggplot2 to do this, but have had issues with it - I believe i might need to reformat m[详细]
2023-04-05 16:31 分类:问答Copying and modifying a default theme
I would like to create a new theme for ggplot that is based on theme_bw(). I imagine the following steps are necessary (in pseudocode):[详细]
2023-04-05 10:25 分类:问答Multiple ggplots in for loop
I produced multiple plots using the following code: set.seed(12345) a <- data.frame(Glabel=LETTERS[1:7],A=rnorm(7, mean = 0, sd = 1),B=rnorm(7, mean = 0, sd = 1),C=rnorm(7, mean = 0, sd = 1))[详细]
2023-04-05 06:37 分类:问答How can I add a table to a graph?
I have created a dodged bar chart using the following commands: a = c(1,1,1,1,1,1,1,2,2,2,2,2,2,2) b = c(\"A\",\"A\",\"A\",\"B\",\"B\",\"B\",\"B\",\"C\",\"C\",\"D\",\"D\",\"D\",\"D\",\"D\")[详细]
2023-04-04 20:48 分类:问答