title | name | permalink | description | layout | thumbnail | language | page_type | has_thumbnail | display_as | output | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ggplot2 scale_y_continuous | Examples | Plotly |
scale_y_continuous |
ggplot2/scale-y/ |
How to use logarithmic scales with ggplot2 axes. |
base |
thumbnail/log.jpg |
ggplot2 |
example_index |
true |
layout_opt |
|
Plotly's R library is free and open source!
Get started by downloading the client and reading the primer.
You can set up Plotly to work in online or offline mode.
We also have a quick-reference cheatsheet (new!) to help you get started!
Version 4 of Plotly's R package is now available!
Check out this post for more information on breaking changes and new features available in this version.
library(plotly)
packageVersion('plotly')
## [1] '4.5.6.9000'
library(plotly)
p <- ggplot(diamonds, aes(color, log10(price))) +
geom_boxplot() +
scale_y_continuous("Price, log10-scaling")
p <- ggplotly(p)
# Create a shareable link to your chart
# Set up API credentials: https://plot.ly/r/getting-started
chart_link = plotly_POST(p, filename="scaley/basic")
chart_link