Hi David,

Try abline(v=c(m-stanD,m+stanD),col=2,lty=2)


I hope this helps,

Jorge


On 2/8/08, dkowalske@umassd.edu <dkowalske@umassd.edu> wrote:
>
> Hi,
> I would like to put the mean and + / - the standard deviation as  lines on
> the x axis of a histogram.  My attempts using the histogram function have
> been unable to do this.  My searches are unsucessful on this subject.
> Any ideas are appreciated.
> Thanks
>
> stemp <-  5 6 5 5 5 5 6 5
> m <-5.25
> stanD <- 0.46291005
>
> using windows xp
> R 2.6
>
>
>
> --------------------------------------------------
> David Kowalske Jr
> Graduate Research Assistant
> School for Marine Science and Technology
> 200 Mill Road
> Suite 325
> Fairhaven, MA  02719
> Phone (508) 910-6368
>
> ______________________________________________
> R-help@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.
>

	[[alternative HTML version deleted]]

