Re: [R] line plot over a barplot

2012-03-16 Thread Petr PIKAL
Hi > > Dear all, > > I have data in the following format : > X-axisY-axis > <010% > 0-20 20% > 20-4030% > 40-6040% > . and so on. > I want to plot a bar graph of the above. Also I would want to add a > trendlin

[R] line plot over a barplot

2012-03-15 Thread anupam sinha
Dear all, I have data in the following format : X-axisY-axis <010% 0-20 20% 20-4030% 40-6040% . and so on. I want to plot a bar graph of the above. Also I would want to add a trendline passing either through the

Re: [R] Line Plot with Dates on X-axis

2010-01-20 Thread mah
Thank you - zoo did exactly what I needed... On Jan 20, 12:20 pm, Henrique Dallazuanna wrote: > Try the zoo package: > > plot(as.yearqtr(time.val), inc, col = 'red', type = 'l') > > > > On Wed, Jan 20, 2010 at 3:41 PM, mah wrote: > > I am trying to generate a line graph with quarterly time bucke

Re: [R] Line Plot with Dates on X-axis

2010-01-20 Thread Henrique Dallazuanna
Try the zoo package: plot(as.yearqtr(time.val), inc, col = 'red', type = 'l') On Wed, Jan 20, 2010 at 3:41 PM, mah wrote: > I am trying to generate a line graph with quarterly time buckets (with > nice labels) on the x-axis.  The first block of code below will > generate the graph with nicely fo

[R] Line Plot with Dates on X-axis

2010-01-20 Thread mah
I am trying to generate a line graph with quarterly time buckets (with nice labels) on the x-axis. The first block of code below will generate the graph with nicely formatted x-axis labels, but the "type=" and "col=" options are not recognized when factors are used for the x-axis. The second bloc

Re: [R] line plot

2009-08-19 Thread John Kane
(aa), lbs, las=1) #== --- On Wed, 8/19/09, Rafael Moral wrote: > From: Rafael Moral > Subject: [R] line plot > To: "r-help" > Received: Wednesday, August 19, 2009, 2:11 PM > Dear useRs, > > How can I draw a barplot, but instead of bars, I'

Re: [R] line plot

2009-08-19 Thread Jorge Ivan Velez
Dear Rafael, Here is a suggestion using plot(): set.seed(123) x <- rpois(100,10) plot(table(x)) HTH, Jorge On Wed, Aug 19, 2009 at 2:11 PM, Rafael Moral <> wrote: > Dear useRs, > > How can I draw a barplot, but instead of bars, I'd get lines? > > Thanks, > Kind regards, > Rafael. > > > > >

[R] line plot

2009-08-19 Thread Rafael Moral
Dear useRs, How can I draw a barplot, but instead of bars, I'd get lines? Thanks, Kind regards, Rafael. [[elided Yahoo spam]] [[alternative HTML version deleted]] __