0

I am trying to use matplotlib to reproduce a plot with a similar axis calling of the image below:

Plot to replicate

I was trying to use the ax.set_xscale and ax.set_yscale, but I am unsure which option i should use to make the major ticker to follow the desired pattern e.g

axis x --> 0.1 , 0.3 , 1 , 3 , 10 , 30 .... axis y --> 0.02 , 0.06, 0.1 , 0.2 ,0.6, 1 ,2, 6....

How to accomplish this?

desertnaut
  • 57,590
  • 26
  • 140
  • 166
Marquez85
  • 21
  • 2
  • Does [this](https://stackoverflow.com/questions/31090513/set-scale-of-axis-in-plot-using-matplotlib) answer your question? – alt_zancudo Sep 23 '22 at 19:09
  • I am afraid not… the axes seems to be in a customised logitorim scale but it is not the convencional ones you see around ( based 10, e or 2) – Marquez85 Sep 23 '22 at 21:09
  • You will probably need this one: https://matplotlib.org/stable/api/scale_api.html#matplotlib.scale.FuncScale class matplotlib.scale.FuncScale(axis, functions) . It seems that the x-scale is a logarithmic one with a base of about 28 – Claudio Sep 23 '22 at 21:37

0 Answers0