Re: [R] Plot bar lines like excel

2010-08-25 Thread abotaha
Great .. thanks for the to much help and i too appreciate hel p and explanation Cheers -- View this message in context: http://r.789695.n4.nabble.com/Plot-bar-lines-like-excel-tp2337089p2338158.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] Plot bar lines like excel

2010-08-25 Thread Hadley Wickham
On Wed, Aug 25, 2010 at 6:05 AM, abotaha wrote: > > Woow, it is amazing, > thank you very much. > yes i forget to attach the dates, however, the dates in my case is every 16 > days. > so how i can use 16 day interval instead of month in by option. Here's one way using the lubridate package: libr

Re: [R] Plot bar lines like excel

2010-08-25 Thread abotaha
Woow, it is amazing, thank you very much. yes i forget to attach the dates, however, the dates in my case is every 16 days. so how i can use 16 day interval instead of month in by option. cheers, -- View this message in context: http://r.789695.n4.nabble.com/Plot-bar-lines-like-excel-tp23

Re: [R] Plot bar lines like excel

2010-08-25 Thread Dennis Murphy
Hi: Here's a ggplot2 version of your graph. Since you didn't include the dates, I had to make them up, and it may have some consequence with respect to your times because yours don't appear to be exactly equally spaced. I created two data frames - an 'original' one that contains both series in se

Re: [R] Plot bar lines like excel

2010-08-24 Thread abotaha
Thanks a lot for the nice explanation. however, you mention that it will be nicer if there is data. yes you are right it be very kind of you if you include a simple example. where my data are: x1<-c(11.5,9.38,9.3,9.8,9,9.06,9.42,8.8,9.05,8.14,8.2,7.59,6.92,6.47,7.12, 7.47,6.81,8.41,9.64,9.62,9.2,

Re: [R] Plot bar lines like excel

2010-08-24 Thread Dennis Murphy
Hi: This is pretty straightforward to do in ggplot2, but it would be nice to have some data to work with (hint). The job requires processing the two input series and dates with melt() from the reshape package, a couple of opts() to change, proper rotation of the dates, etc. It's easier to show how

Re: [R] Plot bar lines like excel

2010-08-24 Thread David Winsemius
On Aug 24, 2010, at 1:40 PM, abotaha wrote: Hello guys, I would to plot a bar line between to curves like in excel as shown in the following image. but i do not know how I can do that in R. http://r.789695.n4.nabble.com/file/n2337089/excel_Plot.png any help would appreciate. ?segments

[R] Plot bar lines like excel

2010-08-24 Thread abotaha
Hello guys, I would to plot a bar line between to curves like in excel as shown in the following image. but i do not know how I can do that in R. http://r.789695.n4.nabble.com/file/n2337089/excel_Plot.png any help would appreciate. -- View this message in context: http://r.789695.n4.nabble