Open petroeb opened 2 years ago
See ?scatterplot3js -- the x.ticklabs, y.ticklabs, z.ticklabs (and also num.ticks) options...
On 8/17/22, emmabrouwer @.***> wrote:
Hi,
I am using the scatter3d function (https://www.rdocumentation.org/packages/car/versions/3.1-0/topics/scatter3d). I was wondering how I could manually edit my axis scale and ticks. (axis.ticks seems to only turn on or off the ticks but not give the option to change them)
Thanks,
-- Reply to this email directly or view it on GitHub: https://github.com/bwlewis/rthreejs/issues/97 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
Here is a basic example that changes only the x-axis tick labels:
z <- seq(-10, 10, 0.1)
x <- cos(z)
y <- sin(z)
scatterplot3js(x, y, z, color=rainbow(length(z)))
# With custom x tick labels:
scatterplot3js(x, y, z, color=rainbow(length(z)), num.ticks=c(4,6,6),
x.ticklabs=letters[1:4])
On 8/19/22, Bryan Lewis @.***> wrote:
See ?scatterplot3js -- the x.ticklabs, y.ticklabs, z.ticklabs (and also num.ticks) options...
On 8/17/22, emmabrouwer @.***> wrote:
Hi,
I am using the scatter3d function (https://www.rdocumentation.org/packages/car/versions/3.1-0/topics/scatter3d). I was wondering how I could manually edit my axis scale and ticks. (axis.ticks seems to only turn on or off the ticks but not give the option to change them)
Thanks,
-- Reply to this email directly or view it on GitHub: https://github.com/bwlewis/rthreejs/issues/97 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
Hi, Thank you for your comment. When using scatterplot3d this indeed works well but with the scatter3d function (https://www.rdocumentation.org/packages/car/versions/3.1-0/topics/scatter3d) this does not seem to work.
Sorry can't help you there, I don't know anything about that package. This issue list is for the threejs package.
On 8/19/22, petroeb @.***> wrote:
Hi, Thank you for your comment. When using scatterplot3d this indeed works well but with the scatter3d function (https://www.rdocumentation.org/packages/car/versions/3.1-0/topics/scatter3d) this does not seem to work.
-- Reply to this email directly or view it on GitHub: https://github.com/bwlewis/rthreejs/issues/97#issuecomment-1220561566 You are receiving this because you commented.
Message ID: @.***>
Hi,
I am using the scatter3d function (https://www.rdocumentation.org/packages/car/versions/3.1-0/topics/scatter3d). I was wondering how I could manually edit my axis scale and ticks. (axis.ticks seems to only turn on or off the ticks but not give the option to change them)
Thanks,