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
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
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
Do you mean a dotchart?
Example
#==
aa <- c(3,6,3,5,8)
lbs <- LETTERS[1:5]
dotchart(aa, pch=(16), col = 1:5, main="A Dotchart")
axis(side = 2, seq_along(aa), lbs, las=1)
#==
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.
>
>
>
>
>
5 matches
Mail list logo