Skip to content

Commit

Permalink
Darken comparison plot colors
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbates committed Jul 20, 2024
1 parent be202f8 commit ada4987
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/ggplot2.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ banc_neuron_comparison_plot <- function(neuron1,
# Create the plot
p <- ggplot2::ggplot() +
geom_neuron.mesh3d(x = mesh, rotation_matrix = rotation_matrix, alpha = 0.05, low = "grey90", high = "grey50") +
geom_neuron(x=neuron_pruned1, rotation_matrix = rotation_matrix, low = "turquoise", high = "navy", alpha = 0.5, linewidth = 0.3) +
geom_neuron(x=neuron_pruned2, rotation_matrix = rotation_matrix, low = "darkred", high = "coral", alpha = 0.5, linewidth = 0.3) +
geom_neuron(x=neuron_pruned3, rotation_matrix = rotation_matrix, low = "darkgreen", high = "chartreuse", alpha = 0.5, linewidth = 0.3) +
geom_neuron(x=neuron_pruned1, rotation_matrix = rotation_matrix, low = "blue", high = "navy", alpha = 0.5, linewidth = 0.3) +
geom_neuron(x=neuron_pruned2, rotation_matrix = rotation_matrix, low = "darkred", high = "red", alpha = 0.5, linewidth = 0.3) +
geom_neuron(x=neuron_pruned3, rotation_matrix = rotation_matrix, low = "darkgreen", high = "green", alpha = 0.5, linewidth = 0.3) +
ggplot2::coord_fixed() +
ggplot2::theme_void() +
ggplot2::guides(fill="none",color="none") +
Expand Down

0 comments on commit ada4987

Please sign in to comment.