[R] Scatterplot3d :: Rotating x tick labels by x degrees

Alex Restrepo alex.restrepo at outlook.com
Tue Oct 31 00:56:02 CET 2017


Hi,

I would like to rotate the x axis tick labels by 45 degrees.   Using the code below, could someone please provide an example?   Many Thanks In Advance, Alex

library("scatterplot3d")
mydf=data.frame(rate=seq(158, 314)
                ,age=seq(1, 157)
                ,market_date=seq(as.Date("2000/1/1"), as.Date("2003/1/1"), by="7 days"))

mydf$market_date=as.Date(mydf$market_date, format="%Y-%m-%d")

scatterplot3d(mydf$market_date
              ,mydf$rate
              ,mydf$age
              ,x.ticklabs = seq(as.Date("2000/1/1"), as.Date("2003/1/1"), by="330 days"))


	[[alternative HTML version deleted]]



More information about the R-help mailing list