## Draw with Matplotlib: Colors, Markers and Line Styles

To communicate results, the importance of data visualization can’t be overemphasized. In this article, I plot several figures to show the colors, markers and line styles in Matplotlib.

## Draw with Matplotlib: Basic Steps for Plotting a Figure

I have switched from Gnuplot to Matplotlib for a while. For future reference, I decide to organize nodes from my experience of using Matplotlib. matplotlib.pyplot is a collection of command style functions that make matplotlib work like MATLAB. This article presents basic steps for plotting a figure.

## A shell script to indent LaTeX documents

I write a shell script to simplify the operation of indenting LaTeX documents with the Perl package latexindent. The source code is hosted at GitHub, here.

## Read and write CSV files with Python

I am analyzing a trace in GTFS, a collection of CSV files. Each record of a csv file is consisting of one or more fields speparated by commas ,. It is error-prone to read csv files by simply using [line.split(',') for line in f.readlines()] for fields might contain commas. Therefore, I decide to switch to the Python module csv.

Markdown上代码高亮，最开始打算用SyntaxHighlighter（为了跟之前保持一致），折腾了一段时间，发现有个问题很难逾越：SyntaxHighlighter要求<pre>...</pre>间的代码，所有左尖括号<必须全部转化成HTML实体&lt;，详情见博文《在Markdown使用代码高亮SyntaxHighlighter》。所以决定寻找另一款代码高亮，最后选择Google Code Prettify，因为StackOverflow和Google Code也用这个货，除此之外，Google Code Prettify还有一个很酷的特性，可以启发式识别语言。本文分享如何安装Google Code Prettify并介绍如何使其与SyntaxHighlighter兼容。

## Insert images with captions in Markdown

This blog shares one method of inserting images with captions without using any plugins or tags in Markdown.

## NetworkX Application Notes: Draw a graph with matplotlib

This article takes notes from my experiences of drawing a graph with the python 2D plotting library, matplotlib.

## Beamer application notes: a title page

After making several beamer slides, I spend some time to organize notes of a title page for recall at any time in the future.

## Use XeLaTeX in Texmaker

XeLaTeX has been added to the standard commands of Texmaker  since the version 3.5.1. This blog shows how to use XeLaTeX in Texmaker with a simple example.