Description Usage Arguments Value Examples
This function helps to edit plot aesthetics
1 |
xlab |
The x-axis label |
ylab |
The y-axis label |
zlab |
The z-axis label |
title |
The plot title |
colorbar |
Show colorbar |
colorscale_title |
The title for the colorscale |
legend |
Show legend |
plot |
The plot that you want to change the aesthetics of |
aesthetics adjustments for a plot
1 2 3 4 5 6 7 8 | newPlot <- easy_plot_ly(x = iris$Sepal.Length, y = iris$Sepal.Width, z = iris$Petal.Length,
color = iris$Species, type = 'scatter', data = iris)
newPlot2 <- add_reg_plane(x = iris$Sepal.Length, y = iris$Sepal.Width, z = iris$Petal.Length,
plot = newPlot)
theme_ly(xlab = 'Sepal Length', ylab = 'Sepal Width', zlab = 'Petal Length', title = 'Regression',
legend = F, plot = newPlot2, colorbar = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.