I found my problem: Sadly it was the color iterate with lines = ax0.get_lines() colors = [line.get_color() for line in lines].
I don't know, but it took weird colours and every fourth colour was my line colour. I fixed it by new_colors = colors[4::5].
the first element of the array is always a white colour in regards I couldn't see any Markers on the plot beacause it was white :D.
filenames.append(os.path.basename(os.path.splitext(File)[0]))
data = rf.Network(File)
idx_start = np.abs(data.f - (plot_data_s2p[0][2]*1000000)).argmin()
idx_stopp = np.abs(data.f - (plot_data_s2p[0][3]*1000000)).argmin()
freq = rf.Frequency(start=data.f[idx_start], stop=data.f[idx_stopp])
freq_new = data.frequency[idx_start:idx_stopp]
data_new = data.interpolate(freq_new)
rf.plotting.smith(ax=ax0, draw_labels = True, ref_imm = 50, chart_type='z')
data_new.s11.plot_s_smith(ax=ax0, label = filenames[counter_filename], linewidth=0.9)
leg1 = ax0.legend(loc="upper right", fontsize= 6)
lines = ax0.get_lines()
colors = [line.get_color() for line in lines]
new_colors = colors[4::5]
table_colors = np.repeat(new_colors, 3)
print(new_colors)
if table_s11 == 1:
s11_points = []
s11_points_index = []
for i in range(len(plot_data_s2p[3])):
s11_points_index = np.append(s11_points_index, np.abs(data.f - (plot_data_s2p[3][i]*1000000)).argmin())
s11_points = np.append(s11_points, np.interp(plot_data_s2p[3][i]*10e5, data.f, np.squeeze(data.s11.s)))
# Add Marker
for i in range(len(plot_data_s2p[3])):
ax0.scatter(data.s11.s.real[int(s11_points_index[i])], data.s11.s.imag[int(s11_points_index[i])], marker = '.', s=20, color=new_colors[counter_filename])
ax0.annotate(plot_data_s2p[6][i], (data.s11.s.real[int(s11_points_index[i])], data.s11.s.imag[int(s11_points_index[i])]), xytext=(-7, 7), textcoords='offset points', color=new_colors[counter_filename])
s11_points_legend = []
for i in range(len(plot_data_s2p[3])):
s11_points_legend = np.round(np.append(s11_points_legend, np.interp(plot_data_s2p[4][i]*10e5, data.f, np.squeeze(data.s11.z[:,0,0]))),2)
legend_labels.append([plot_data_s2p[6][i], str(plot_data_s2p[3][i])+' MHz', str(np.round(s11_points_legend[i],3))])
counter_filename = counter_filename + 1
