[R] A plotting question - how to get error bars?

Sean Davis sdavis2 at mail.nih.gov
Mon Mar 27 15:13:25 CEST 2006




On 3/27/06 6:55 AM, "toby at abdn.ac.uk" <toby at abdn.ac.uk> wrote:

> Dear R list,
> 
> Can anyone help with a plotting question? I'm trying to display some data
> on a plot and I've almost got the format I need (see code below), but 2
> things I can't get:
> 
> 1. How to get "Jan","Feb","Mar" on the x=axis instead of 1:3?

First, do your plot with (..., axes=F).  Then, look at the help for axis()
to put the axes on the plot.

> 2. How to get "T"s on the end of my error bars like you have in standard
> scientific plots?

RSiteSearch('error bars') several answers that might be of interest.

Sean




More information about the R-help mailing list