У нас вы можете посмотреть бесплатно Customize Legend of plotly Graph in R (Example) | Modify & Change | Title, Font Family, Size & Color или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
How to customize the legend of your plotly graph in the R programming language. More details: https://statisticsglobe.com/customize... This tutorial was created in collaboration with Ifeanyi Idiaye: https://statisticsglobe.com/ifeanyi-i... R code of this video: install.packages("plotly") library(plotly) install.packages("dplyr") library(dplyr) fruits <- data.frame( fruits = c("Oranges","Mangoes","Pineapples","Watermelons","Apples","Peaches"), quantity = c(100,85,97,120,70,110) ) fig <-fruits |> plot_ly(x = ~fruits,y = ~quantity,color = ~fruits,type = "bar") |> layout(title = "A Fruity Bar Plot") fig l <- list( font = list( family = "sans-serif", size = 10, color = "green"), bgcolor = "#E2E2E2", bordercolor = "black", x = 0, y = 1, orientation = "h", borderwidth = 3, title=list(text='<b> Fruits </b>')) fig <-fruits |> plot_ly(x = ~fruits,y = ~quantity,color = ~fruits,type = "bar") |> layout(title = "A Fruity Bar Plot", legend = l) fig Follow me on Social Media: Facebook – Statistics Globe Page: / statisticsglobecom Facebook – R Programming Group for Discussions & Questions: / statisticsglobe Facebook – Python Programming Group for Discussions & Questions: / statisticsglobepython LinkedIn – Statistics Globe Page: / statisticsglobe LinkedIn – R Programming Group for Discussions & Questions: / 12555223 LinkedIn – Python Programming Group for Discussions & Questions: / 12673534 Twitter: / joachimschork Music by bensound.com