我想使用两种不同的色标绘制点两次:
在此示例中,5 个点被淹没,颜色被映射到两个协变量(cov1 和 cov2):cov1 和 cov2 分别采用不同的尺度 1 到 5 和 0.01 到 0.05。
我希望有 2 个独立的颜色键,一个用于 cov1,一个用于 cov2,有点如下图所示。然而,在下图中,我使用 'color = cov1' end 'fill = cov2' 来带来另一个颜色键......
任何帮助,将不胜感激。
gg1 <- ggplot(data = df1 , aes( x = x , y = y ) ) +
geom_point( aes(x = x , y = y - 1 , color = cov1 )) +
geom_point( aes(x = x , y = y + 1 , color = cov2 )) +
scale_y_continuous(limits = …Run Code Online (Sandbox Code Playgroud) 我按照官方 docker 说明从https://docs.docker.com/install/linux/docker-ce/ubuntu/在 ubuntu 18.04 LTS 上安装 docker
使用我运行的设置存储库:
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
Run Code Online (Sandbox Code Playgroud)
和
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Run Code Online (Sandbox Code Playgroud)
最后
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
Run Code Online (Sandbox Code Playgroud)
然后,运行sudo apt-get update我有错误:
Hit:1 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:3 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Err:1 http://eu-west-3.ec2.archive.ubuntu.com/ubuntu bionic InRelease
The following signatures couldn't be verified because the public key is not …Run Code Online (Sandbox Code Playgroud)