def create_sample_list(df, properties):
    """
    This function return a list with a with all occurring 
    samples and one with the corresponding plot colours.

    Param:
        df (pandas.DataFrame): DataFrame with data form result.csv
        properties (dictionary): properties is a dictionary with all parameters for evaluating the data

    Returns:
        color_list (list): list with sample corresponding plot colours
        sample_list (list): list with occuring samples
    """
    colors = properties['colors_samples']
    samples = df.index.unique().tolist()
    sample_list = []
    color_list = []
    for sample in samples:
        # remove this for new data
        if sample == ' TNT':
            sample = 'TNT'
        sample_list.append(sample)
        color_list.append(colors[sample])
    return color_list, sample_list