mirror of
https://github.com/dchakro/ggplot_themes.git
synced 2026-05-17 11:22:16 -07:00
Merge branch 'develop'
This commit is contained in:
commit
a7cbcef0a4
3 changed files with 6 additions and 1 deletions
|
|
@ -41,3 +41,6 @@ customtheme <- DC_theme_generator(type = 'L',
|
|||
ggplot(data = dat, aes(x=X, y=Y, color=Class)) + geom_point() + scale_color_manual(values=c("red","blue")) + xlab("X-axis") + ylab("Y-axis") + ggtitle("Customized DC_theme_generator") + customtheme
|
||||
```
|
||||
|
||||
The above theme results in a canvas like this:
|
||||
|
||||

|
||||
BIN
img/Rplot.png
Normal file
BIN
img/Rplot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
|
|
@ -1,5 +1,7 @@
|
|||
# This is legacy theme defination for maintaining compatibility with my own historical code base.
|
||||
|
||||
library(ggplot2)
|
||||
theme_dc.plot.L.45.nolegend=theme(
|
||||
theme_dc.plot.L.45.nolegend=ggplot2::theme(
|
||||
axis.line = element_line(colour = "black",
|
||||
size=0.5),
|
||||
panel.border = element_blank(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue