[R] line plot

John Kane jrkrideau at yahoo.ca
Wed Aug 19 20:24:06 CEST 2009


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)
#==================================================================

--- On Wed, 8/19/09, Rafael Moral <rafa_moral2004 at yahoo.com.br> wrote:

> From: Rafael Moral <rafa_moral2004 at yahoo.com.br>
> Subject: [R] line plot
> To: "r-help" <r-help at r-project.org>
> Received: Wednesday, August 19, 2009, 2:11 PM
> 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]]
> 
> ______________________________________________
> R-help at r-project.org
> mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
> 


      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.




More information about the R-help mailing list