Hello,

I wonder if someone can elaborate on why in the first graph I am able to set
labels vertical to the x-axis but not in the second.

I tried to select the window but it didnt really help.


Many Thanks

Paolo



ExtAvgCWV = rnorm(200)
ExtAvgDemand = rnorm(200)
ExtGasDays =   seq(from = as.Date("2010-8-4", "%Y-%m-%d"), along.with =
ExtAvgCWV, by = "days")
plot(ExtAvgCWV, ann=FALSE, xaxt="n", yaxt="n" )
tickplaces <-  seq( from = 1, by = 21, to = length(ExtGasDays))
Labels = ExtGasDays[tickplaces]
axis(side =1 , at = tickplaces, labels = Labels)
par(las = 3)

windows()
plot(ExtAvgDemand, ann=FALSE, xaxt="n", yaxt="n" )
#dev.set(which = 4)
axis(side =1 , at = tickplaces, labels = Labels)
par(las = 3)

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to