Python Matplotlib y-axis scale into multiple spacing ticks

Viewed 66

When plotting this data, how do I get the log scale on the y-axis similar to the first picture?

Power       BER
-32.87825   0.001690592
-28.42475   1.039675E-09
-30.640749  6.759033E-06
-32.8139954 0.001475279
-31.92425   0.0002321081
-31.12975   2.978612E-05
-30.3422489 2.531642E-06
-29.5207443 1.218128E-07
-28.76425   5.379717E-09
-27.95625   1.482309E-10
-27.162     5E-12
-29.2860775 1E-07

BER plot

I am being able to plot like this

axes.semilogy(Power,BER,marker='x',label='LTLV',linestyle='',linewidth = linewidth1, ms = ms1)
axes.set_yscale('logit')

My MATPLOTLIB

0 Answers
Related