Added support for categorical plot data. Fixed issue #8.