Auxiliary matplotlib plotting functions