plot_csv.py: make title and legend labels optional and stuff