Displaying 2 results from an estimated 2 matches for "rrotat".
Did you mean:
rotate
2017 Oct 31
1
Scatterplot3d :: Rotating x tick labels by x degrees
...t; 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
45 degree rotation is not supported in base R graphics and scatterplot3d
uses that.
You can use par(las=2)
before your code and get them rrotated by 90 degrees, or you can add
them individually by
s3d <- scatterplot3d(....
Afterwards you could try along trhese lines:
par(xpd=TRUE)
text(s3d$xyz.convert(desired positions of labels in 3D coordinate
system), labels, angle=45)
(untested)
Best,
Uwe Ligges
>
> library("...
2017 Oct 30
4
Scatterplot3d :: Rotating x tick labels by x degrees
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"))