diff --git a/scripts/plot/plot_csv.py b/scripts/plot/plot_csv.py index b3b832c82..201766937 100755 --- a/scripts/plot/plot_csv.py +++ b/scripts/plot/plot_csv.py @@ -17,6 +17,9 @@ data = numpy.genfromtxt(text, dtype=float, delimiter=',') +if len(data.shape) == 1: + data = data[:,numpy.newaxis] + if not columns: columns = [None] * data.shape[1]