1
I would like to know why a marker in the 2dB column on the 10 0 line appears in the image and how I can eliminate that without erasing the markers on the blue line, which is what I want?
The code to do the Plot is this:
#=========================== Gráfico=====================================
plt.figure(1)
plt.plot(EbNo_theory, ber_MFSK, 'b-', EbNodB, ber, 'ko')
plt.axis([0, 8, 1e-4, 1e0])
plt.xscale('linear')
plt.yscale('log')
plt.xlabel('EbNo(dB)')
plt.ylabel('BER')
plt.grid(True)
plt.title('BER sem repetição(Teórico) - FSK Coerente com M=2')
#=======================Legendas==================
line_up, = plt.plot([1,2,3], label='Teórico', color='blue')
line_down, = plt.plot([2,3,1], marker='o', markersize=4, label='Simulado', color='black')
plt.legend(handles=[line_up, line_down])
Just edit the line:
plt.ylabel('BER')
, or so would be removing the values too?– Woss