Displaying 6 results from an estimated 6 matches for "market_d".
Did you mean:
marketed
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"))
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...
2017 Oct 31
0
Scatterplot3d :: Rotating x tick labels by x degrees
...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
>...
2017 Oct 27
1
3D Plot with Date Axis?
Hello,
I would like to format the X axis of the plot created via the scatterplot3d function or any other function which will work.
Here is an example of what I am trying to do:
library("scatterplot3d")
mydf=data.frame(rate=c(1,1,4,4), age=c(2,2,5,5), market_date=c('2017-01-01', '2017-02-02', '2017-03-03', '2017-04-04'))
scatterplot3d(mydf$market_date, mydf$rate, mydf$age, xaxt="n")
axis.Date(1, mydf$market_date, format="%Y-%m-%d")
I tried to hide the x axis, but it looks like xaxt is not working for...
2017 Oct 31
1
Scatterplot3d :: Rotating x tick labels by x degrees
...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
>>...
2017 Oct 31
1
Scatterplot3d :: Rotating x tick labels by x degrees
...lines:
par(xpd=TRUE)
text(s3d$xyz.convert(desired positions of labels in 3D coordinate
system), labels, angle=45)
(untested)
Best,
Uwe Ligges
>
> 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
>...
2017 Nov 01
0
Scatterplot3d :: Rotating x tick labels by x degrees
....com>> wrote:
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&qu...