I have 3 lists; one of the names, one of data and one of the dates, I will print an example below (the actual dataset is much larger, first time I've asked on here)
List1 = [[Ref1,Ref2,Ref3],[Ref1,Ref2,Ref3,Ref4],[Ref2,Ref3]]
List2 = [[1,2,3],[1.1,2.1,3.1,4.1],[2.2,3.2]]
List3 = [2020,2019,2021]
I have managed to manipulate the data to have the order of the lists match with each other. What I need to do is to create graphs for each Refx with List 2 on the y-axis and List 3 as the x-axis.
I would like to make it in such a way to have separate lists for each of the Refx in date order, for example:
Ref1 = [1.1,1]
Ref2 = [2.1,2,2.2]
Ref3 = [3.1,3,3.2]
Ref4 = [4.1]
dates = [2019,2020,2021]
Then I could easily plot each Refx Some advice would be fantastic...