def select_plot_data_single(values_list, plot_information, number_of_flights):
    """
    List of data to plot returns values_list which has structure:
    [[[axis, [data_source, column], [axis, [data_source, column]],
     [[axis, [data_source, column], [axis, [data_source, column]]]"""
    plot_data = []
    for data_set in range(number_of_flights):
        plot_data_temp = []
        for data in plot_information:
            values_list_index = 0
            for values_list_data in values_list[data_set]:
                if data[2].lower() == values_list_data[0].lower():
                    data.append(values_list_index)
                    for column in values_list[data_set][values_list_index][1:]:
                        if column[0].lower() == data[1].lower():
                            plot_data_temp.append([data[0], column, data[2]])
                            break
                values_list_index += 1
        plot_data.append(plot_data_temp)
    return plot_data
