diff --git a/img/animation.gif b/img/animation.gif index 286fc1a..ce7ebca 100644 Binary files a/img/animation.gif and b/img/animation.gif differ diff --git a/source.R b/source.R index 3c32d23..2c8db06 100644 --- a/source.R +++ b/source.R @@ -23,8 +23,8 @@ customtheme <- DC_theme_generator(type='square') 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("DC_theme_generator('square')")+customtheme ggsave("~/Desktop/tmp/4.png",width = 6,height = 5,dpi = "print") - - +# convert to gif by using ImageMagick https://imagemagick.org +# system(command = 'cd ~/Desktop/tmp; convert -delay 100 -loop 0 *.png animation.gif') customtheme <- DC_theme_generator(type = 'L', legend = 'F',