[R] How to put title Vertically

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Aug 30 12:55:43 CEST 2006



stat stat wrote:
> Dear all R users,
> 
> Suppose,
> 
> 
> Dear all R users,
> 
> Suppose,
> 
> 
> pauto.cor = pacf(lh, plot=F)
> max.lag = max(pauto.cor$lag)
> min.lag = min(pauto.cor$lag)
> centre = (max.lag - min.lag)/2
> pauto.cor = pauto.cor$acf
> pauto.cor = pauto.cor[-1]
> 
> par(mar=c(3,0,1,1))
> barplot(pauto.cor, axes=F,xlim=c(max(pauto.cor),
> min(pauto.cor)), space=0,
> col="green4",border="green",horiz=T) 
> 
> 
> #This plots PACF vertically
> 
> Now I want to put a title of above plot but NOT
> horizontally rather Vertically.
> 
> Can anyone please tell me how to do that?


Use mtext()

Uwe Ligges


> Thanks and regards,
> stat
> 
> thanks in advance
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list