Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not generate a 3D scatterplot in RStudio #1078

Closed
SpinoPi opened this issue Jul 21, 2017 · 1 comment
Closed

Could not generate a 3D scatterplot in RStudio #1078

SpinoPi opened this issue Jul 21, 2017 · 1 comment

Comments

@SpinoPi
Copy link

SpinoPi commented Jul 21, 2017

I could not generate a 3D scatterplot in RStudio. The R code is:

data(mpg)
plot_ly(mpg, x = ~cty,y = ~hwy, z = ~cyl) %>%
add_markers(color = ~cyl)

I just copy this sample from https://plotly-book.cpsievert.me/scatter-traces.html

Which just generated an image like this:
capture
Please help me solve this problem. Thank you very much!

@cpsievert
Copy link
Collaborator

Duplicate of #1055

@cpsievert cpsievert marked this as a duplicate of #1055 Jul 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants