Open GegznaV opened 8 years ago
plotmath expressions aren't yet possible. #375 will have to be fixed first.
For question 2, at least in this example, you could avoid the redundant mapping
qplot(mpg, wt, data = mtcars, colour = as.factor(cyl))
Perhaps simsalapar::expr2latex()
, or it's source, would be useful here
Can maybe borrow ideas from https://adv-r.hadley.nz/translation.html#latex
See also https://advanced-r-solutions.rbind.io/translating-r-code.html
I have 2 issues using function
ggplotly
in R:Question 1 What are the ways to keep
R
plotmath expressions while convertingggplot2
plots toplotly
format using functionggplotly
?Now the expressions are converted to
[object Object]
as in this example below:Question 2
How to get rid of double labels in the legend of
plotly
graph and make them look like inggplot2 graph
? I.e. how to get6
in stead of(6,6)
: