You cannot post messages because only members can post, and you are not currently a member.
Description:
Get help with ggplot2
|
|
|
ggplot2 0.9.3.1 tests failing on Debian squeeze with R 2.15.3
|
| |
Hi,
ggplot2 tests are failing for me. I'm running the tests with
faheem@orwell:/usr/local/src/g gplot2/r-cran-ggplot2-0.9.3.1/ tests$ Rscript test-all.R
Is this correct? If so, would someone be willing to look at the output? If so, where should I post it? To this mailing list, inline or as an... more »
|
|
Combining geoms & scales
|
| |
I am working on a R package for eyetracking reasearch and in it I provide
some functions to visual data with ggplot2. Some of the visualizations are
stand alone plots but others work well as layers that could be combined
with other plots. I've created some "custom" geoms by simply wrapping
pre-existing geoms in a function so that I can transform in input into... more »
|
|
faceting distr in terms of percents (nominal values)
|
| |
Hi,
A couple of weeks ago Dennis answered my question as to how to bin (and facet) an interval variable so that its distribution is in terms of the percent of total. It involved multiplying the density by the binwidth. However, this solution not surprisingly does not work when the x axis is a nominal... more »
|
|
ggplot2 with both stat_binhex and scale_x_log10
|
| |
Hello everyone. I'm trying to make a scatter plot with ggplot2, but I'm running into an issue. I want to use scale_x_log10 and scale_y_log10 to make both the axes logarithmic. I also want to use stat_binhex to show the density of points. My code works when I use either one without the other, but when I use both... more »
|
|
Create a plot with many lines and points by loops
|
| |
Hi, I would like to create a plot with 40 lines and 40 sets of points. The sizes of the datasets are unequal. I wonder how I could do it in ggplot2. This is a toy example I try, but I just see 2 lines and the corresponding point sets in the first graph "p_test" and see 1 lines and the corresponding point sets in the first graph "p_test2". How could it be... more »
|
|
Controlling legends and annotations
|
| |
I'm having trouble controlling legends and adding annotations to some graphs:
p <- ggplot(NHBS, aes(x=Age, y=Rate, group=Race, colour=Race))
p1 <- p+geom_line()+labs(title="MSM HIV+ Prevalence by Race x Age, 2004, 2008, 2011 NHBS LA")
# first graph fine
plot(p1)
p2 <- p1+geom_linerange(aes(ymin=Low er, ymax=Upper, size=2, alpha=0.5), position=position_jitter(h=0, w=0.5))+geom_point(aes(size=Ne gative+Positive))... more »
|
|
Default colors
|
| |
Good day all, Can someone please tell me what are the default colors codes or names in ggplot2 ? In order to use the same color code as for plots done elsewhere (with ggplot2) I need to change the order of the colors so that they fit with the factor I am using. I am not allowed to change the factor order.... more »
|
|
|