I have a dictionary band1
as shown below, I want to print out a graph based on the first and last element of each list in the dictionary. The first element of each list on the x axis, is a frequency and the last element is a reception strength and should be on the y axis.
Eg, 10812 has a strength of 16 etc
band1 = {'channel1': [10564, 2112.8, 1922.8, 0],
'channel10': [10787, 2157.4, 1967.4, 11],
'channel11': [10812, 2162.4, 1972.4, 16],
'channel12': [10837, 2167.4, 1977.4, 46],
'channel2': [10589, 2117.8, 1927.8, 29],
'channel3': [10612, 2122.4, 1932.4, 0],
'channel4': [10637, 2127.4, 1937.4, 40],
'channel5': [10662, 2132.4, 1942.4, 54],
'channel6': [10687, 2137.4, 1947.4, 0],
'channel7': [10712, 2142.4, 1952.4, 50],
'channel8': [10737, 2147.4, 1957.4, 19],
'channel9': [10762, 2152.4, 1962.4, 24]}
I have no problem sorting this, channel1 -> channel12 but what are some nice ways to print a pretty graph, the amount of entries in the dictionary can vary with there being more or less channels.