当前位置:网站首页>R 语言绘制 动画气泡图
R 语言绘制 动画气泡图
2022-06-28 07:01:00 【Mrrunsen】
可以使用该gganimate包实现动画气泡图。它与气泡图相同,但是,您必须显示值如何在第五维(通常是时间)上变化。
要做的关键是将 设置为aes(frame)要在其上设置动画的所需列。其余与地块建设相关的程序是相同的。情节构建完成后,您可以gganimate()通过设置selected 来为其设置动画interval。
# Source: https://github.com/dgrtwo/gganimate
# install.packages("cowplot") # a gganimate dependency
# devtools::install_github("dgrtwo/gganimate")
library(ggplot2)
library(gganimate)
library(gapminder)
theme_set(theme_bw()) # pre-set the bw theme边栏推荐
猜你喜欢

"Jay bear" plummeted by 96.6%. Why is NFT with star goods cold?

Compile configuration in file

《微信小程序-基础篇》带你了解小程序中的生命周期(一)

Techo day Tencent technology open day, June 28 online waiting for you!

My MVVM open source project "travel epidemic prevention app" has been released

pytorch RNN 学习笔记

C language tutorial

Eyebeam advanced settings

饿久了,大脑会进入“省电模式”!感官被削弱,还看不清东西丨爱丁堡大学...

推荐10个好用到爆的Jupyter Notebook插件,让你效率飞起
随机推荐
2 startup, interrupt and system call
ice, protobuf ,thrift -- 笔记
最后的二十九天
MySQL installation steps - Linux configuration file JDK installation (II)
extern “C“概述
看似简单的光耦电路,实际使用中应该注意些什么?
【Rust日报】 2020-04-23 Rust 1.43.0 发布
QT -- 通讯协议
CRC32概述以及实现和使用
Will Internet talents be scarce in the future? Which technology directions are popular?
微信小程序分页功能,下拉刷新功能,直接干货拿来就用
《微信小程序-基础篇》带你了解小程序中的生命周期(一)
FPM tool installation
Some habits of it veterans in the workplace
Mise en œuvre de l'actionneur asynchrone d'exécution à partir de zéro
A small code editor can also run programs -- a summary of sublime Text3 running programs in various languages
What if the applet page is set to 100% height or left blank?
Optimization steps of SQL statements (II) -- MySQL statement optimization
BACnet/IP網關如何采集樓宇集中控制系統數據
What is a consistent hash? What scenarios can it be applied to?