diff --git a/README.md b/README.md index 2949b98061266115458152ac4fd1acc78afbc0fc..09a9513a4d5e2417fb3a51829c857372ce188962 100644 --- a/README.md +++ b/README.md @@ -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: + + \ No newline at end of file diff --git a/img/Rplot.png b/img/Rplot.png new file mode 100644 index 0000000000000000000000000000000000000000..77d678e48500d1f76f1ea9c6bf557dce85a53a9e Binary files /dev/null and b/img/Rplot.png differ diff --git a/theme_dc.plot.L.45.nolegend.R b/theme_dc.plot.L.45.nolegend.R index a88ca882bd9883ded380c74bf85012584d67504d..33e471f0d0e2aeffc0a449e241edab195b3024ad 100644 --- a/theme_dc.plot.L.45.nolegend.R +++ b/theme_dc.plot.L.45.nolegend.R @@ -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(),