Re: [R] Vertical Labels in plot graph - normally working fine but not on this graph

2011-07-08 Thread Berry Boessenkool
Hey Paolo, you should specify las BEFORE you send the axis command. It would also be good to set greater margins, this needs to be set before the entire plot, thus in following order: par(las = 3, mar=c(6,2,2,2)) plot(ExtAvgCWV, ann=FALSE, xaxt="n", yaxt="n" ) axis(side =1 , at = tickplaces, l

Re: [R] Vertical Labels in plot graph - normally working fine but not on this graph

2011-07-08 Thread Paolo Rossi
Hi Berry, True, it works. Thanks for this and teh general advice. I have been doing things wrong from day 1 and never realised it! Cheers, Paolo On 8 July 2011 13:43, Berry Boessenkool wrote: > > > Hey Paolo, > > you should specify las BEFORE you send the axis command. > It would also be good

Re: [R] Vertical Labels in plot graph - normally working fine but not on this graph

2011-07-08 Thread Alexander Engelhardt
Hey, from what I see, you try to use the par(las=3) function after the plot command. You should use it before it, though. Somewhat liek this: ExtAvgCWV = rnorm(200) ExtAvgDemand = rnorm(200) ExtGasDays = seq(from = as.Date("2010-8-4", "%Y-%m-%d"), along.with = ExtAvgCWV, by = "days") op <- p