make generating graphs in latex a bit easier