I am trying to plot a set of data from a .dat file in Python.
I want to create ten different plots, each with seven different lines displayed on them. X-values are a hundred points evenly spaced between 1 and 100. Y values are the 100 points from columns 2:101. Seven lines should be labeled from Column 1.
The format of the .dat file is as follows:
Column 1: The values that I want displayed in my legend, there are 7 different values Columns 2-101: The set of 100 data points that I want plotted for each of the values in column 1
Following this set of seven rows, there is a blank line and then the pattern repeats for a total of ten times (80 lines in the file).
Any help would be very welcome, this file format is much more complex than I am used to dealing with.