-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #145 from bockthom/thomas-updates
Change shape of `Vertices` in the legend of plots to avoid confusion Reviewed-by: Claus Hunsen <[email protected]>
- Loading branch information
Showing
4 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
## Copyright 2017 by Raphael Nömmer <[email protected]> | ||
## Copyright 2017 by Christian Hechtl <[email protected]> | ||
## Copyright 2017 by Felix Prasse <[email protected]> | ||
## Copyright 2017 by Thomas Bock <[email protected]> | ||
## Copyright 2017-2018 by Thomas Bock <[email protected]> | ||
## All Rights Reserved. | ||
|
||
|
||
|
@@ -324,7 +324,7 @@ y = NetworkBuilder$new(project.data = y.data, network.conf = net.conf) | |
# plot.title = ggplot2::element_text(hjust = 0.5, size = 15), | ||
# plot.margin = ggplot2::unit(c(0.5, 0.5, 0.5, 0.5), "cm") | ||
# ) | ||
# ggplot2::ggsave("plot-multi.png", plot = p) | ||
# ggplot2::ggsave("plot-multi.png", plot = p, width = 6.57, height = 4.114) | ||
|
||
|
||
## / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ | |
## | ||
## Copyright 2017-2018 by Claus Hunsen <[email protected]> | ||
## Copyright 2018 by Barbara Eckl <[email protected]> | ||
## Copyright 2018 by Thomas Bock <[email protected]> | ||
## All Rights Reserved. | ||
|
||
|
||
|
@@ -170,7 +171,7 @@ plot.get.plot.for.network = function(network, labels = TRUE) { | |
ggplot2::guides( | ||
## reduce size of symbols in legend | ||
shape = ggplot2::guide_legend(override.aes = list(size = PLOT.VERTEX.SIZE.LEGEND)), | ||
color = ggplot2::guide_legend(override.aes = list(size = PLOT.VERTEX.SIZE.LEGEND)) | ||
color = ggplot2::guide_legend(override.aes = list(size = PLOT.VERTEX.SIZE.LEGEND, shape = 15)) | ||
) + | ||
ggplot2::theme( | ||
legend.position = "bottom", | ||
|