Created
May 21, 2019 14:59
-
-
Save hypercompetent/e9d0eb80c64add3759418133678bbe68 to your computer and use it in GitHub Desktop.
Use bg3d() to specify cocoframer background color
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(cocoframer) | |
library(purrr) | |
library(rgl) | |
structures <- c("root","CA") | |
mesh_list <- map(structures, ccf_2017_mesh) | |
names(mesh_list) <- structures | |
plot_ccf_meshes(mesh_list, | |
fg_structure = "CA", | |
bg_structure = "root") | |
bg3d(color = "black") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
May also want to set bg_color = "white" in plot_ccf_meshes() to make the root structure stand out a bit more against the black background: