How can we make xkcd style graphs?

前端 未结 7 1456
心在旅途
心在旅途 2020-11-28 00:12

Apparently, folk have figured out how to make xkcd style graphs in Mathematica and in LaTeX. Can we do it in R? Ggplot2-ers? A geom_xkcd and/or theme_xkcd?

I guess i

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 00:40

    You might want to consider the following package:

    Package xkcd: Plotting ggplot2 graphics in a XKCD style.

    library(xkcd)
    vignette("xkcd-intro")
    

    Some examples (Scatterplots, Bar Charts):

    • Scatterplot:

    Scatterplot

    • Bar Chart:

    Bar Chart

提交回复
热议问题