/ResearchFigure

Some example codes for drawing figures in research paper

Primary LanguagePython

ResearchFigure

Some example codes for drawing figures in research paper

Requirements

  • matplotlib
  • numpy

Hints

  • Times font is better for AI or NLP conferences, such as AAAI, ACL, EMNLP, etc.
  • Linux Libertine font is better for ACM conferences, such as SIGIR, WWW, CIKM, WSDM, etc.

Useful links

Colors in matplotlib 1
Colors in matplotlib 2

Line chart with shared x-axis

  draw_figure_1() 

Figure1

  draw_figure_5() 

Figure1

Histogram with different groups

  draw_figure_2() 

Figure2

Two histograms

  draw_figure_3() 

Figure3

Two line charts

  draw_figure_4() 

Figure4

TSNE figure

  draw_figure_6() 

Figure6

Line chart with histogram + Two y-axis

  draw_figure_7() 

Figure7