[EMAIL PROTECTED] wrote:
> 
> hi all
> 
> i have a few questions about formatting plots:
> 
> 1. i would like to add a symbol such as chi squared with 3 degrees of freedom
> onto a plot.    expression(chi^2 == jnfdjb), can be used in conjuction with
> "legend" to solve this but how does one include an under score for the degrees
> of freedom


See ?plotmath and use the index brackets.


> 2. on the y axis: how does one change the orientation of the label from 
> vertical
> to horisontal

See ?par, in particular its argument "las".


> 3. can one add dots (not lines) to a barplot (ie : inside each of the bars)


Yes, use points() to add dots, and the invisibly returned value of 
barplot() contains information on the postition of the bars.

Uwe Ligges


> 
> sorry if the questions are too simple
> 
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to