livia wrote:
> Hello, I would like to plot a histogram with title "Return", and I would like
> the font for the title to be "Bold" and the size to be 8( as in Excel).
> 
> I tried the following code, but it does not make any change. Could anyone
> give me some advice?

See ?par.

Uwe Ligges



> hist (preturn, seq(-0.05,0.05,0.005),freq = FALSE, main="Return", font=2,
> cex=8,xlab="return",xlim=c(-0.05,0.05))
> 
> Many thanks.

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to