Dear all,
I was wondering if there is an easy way to set the position of the x-axis in
ggplot with respect to where it intercepts the y-axis? The default is for
the x-axis to be positioned at the bottom of the chart, but I would like to
force it to intercept at y = 0 (I have both positive and
Hi all,
I have a question about setting arbitrary breaks/labels when using GGPLOT
and date/time data on the x-axis. I want to specify the breaks/limits
arbitrarily rather than using scale_x_date(major = 'blah'), much like when
arbitrarily defining breaks/labels using scale_x_discrete(breaks =
Hi all,
The problem I am trying to solve is the following: I have a 'trace' of
half-hourly data across an entire year - i.e. I have 17,500
observations (one for every half-hour of every day of a year). The
data follows a daily, weekly and seasonal pattern that is important to
preserve. What I
be less work...as in:
library(ggplot2)
data2 - ddply(data.set, .(Time), transform, Csum = cumsum(Value))
ggplot(data2, aes(x = Time, y = Csum, color = Type)) + geom_line()
HTH,
Dennis
On Tue, Feb 9, 2010 at 8:43 PM, Liam Blanckenberg
liam.blanckenb...@gmail.com wrote:
Hi Hadley,
Thank
is a little off. You want:
p - ggplot2(~, aes(x = ~, y = ~, colour = Type)) +
geom_area(aes(fill = Type), position = 'stack')
Position isn't an aesthetic.
Hadley
On Sun, Feb 7, 2010 at 10:40 PM, Liam Blanckenberg
liam.blanckenb...@gmail.com wrote:
Hi all,
I have been hunting around for hours
?
Hadley
On Tue, Feb 9, 2010 at 4:21 PM, Liam Blanckenberg
liam.blanckenb...@gmail.com wrote:
Hadley,
Thanks for the pointing that error out to me. Unfortunately, revising
my code to:
p - ggplot2(~, aes(x = ~, y = ~, colour = Type)) +
geom_line(aes(colour = Type), position = 'stack')
still does
Hi all,
I have been hunting around for hours trying to figure out how to
generate a stacked line chart using ggplot2. This type of chart can be
generated in excel 2007 by selecting: Chart type Line Stacked
line. I can generate a stacked area chart using the following code:
p - ggplot2(~,
Hi all,
Apologies if I violate any posting etiquette - this is my first
submission to the R mailing list. I regularly use
'odbcConnectExcel2007' (from package 'RODBC') to read data from named
ranges in excel workbooks into R. I recently received the following
error message when attempting to set
8 matches
Mail list logo