Displaying 4 results from an estimated 4 matches for "scale_y_sqrt".
2009 Nov 14
2
formatting dates in axis labels (ggplot2)
...h give errors and others
of which
simply give the wrong graph
library(ggplot2)
cxc1 <- ggplot(Night1, aes(x = factor(Date), y=Deaths, fill = Cause)) +
# do it as a stacked bar chart first
geom_bar(width = 1, position="identity", color="black") +
# set scale so area ~ Deaths
scale_y_sqrt()
# A coxcomb plot = bar chart + polar coordinates
cxc1 + coord_polar(start=3*pi/2) + opts(title="Causes of Mortality in
the Army in the East") + xlab("")
# why doesn't this work?
cxc1 <- cxc1 + scale_x_date(format="%b %Y", major="months")
cxc1
stat_...
2011 Jul 25
1
two sample histogram
dear all,
i am anewcomer. i have a set of paired data, the values are great different from each other. i want to show them in histogram.
first, how to draw each bar for corresponding paired data side by side;
second, how to set the scale of y axis? one is up to 100-fold to the other. ifdoubleslash is used to omit some coordinates, the histogram will looks better.
is there anyone that can help
2008 Nov 21
0
ggplot2 - version 0.8
...sition: fixed bug when limits were set
* scale_discrete_position: more aesthetically pleasing expansion for a
wider ranges of plots (picks expansion based on whether or not geom
with width used, e.g. bars)
* scale_gradient*: axes are correctly labelled when a transformation is used
* scale_x_log10, scale_y_sqrt etc now correctly transform output from
statistics as well as raw data
* scale_z_* now removed because no longer used by anything
* stat_bin: correctly returns 0 when no observations in a bin (was
previously returning NA)
* stat_quantreg: deal with yet another new output format from quantreg
* stat...
2008 Nov 21
0
ggplot2 - version 0.8
...sition: fixed bug when limits were set
* scale_discrete_position: more aesthetically pleasing expansion for a
wider ranges of plots (picks expansion based on whether or not geom
with width used, e.g. bars)
* scale_gradient*: axes are correctly labelled when a transformation is used
* scale_x_log10, scale_y_sqrt etc now correctly transform output from
statistics as well as raw data
* scale_z_* now removed because no longer used by anything
* stat_bin: correctly returns 0 when no observations in a bin (was
previously returning NA)
* stat_quantreg: deal with yet another new output format from quantreg
* stat...