0

I'd like to do a graph like the one below enter image description here

The figure can be found in this paper

Here the x-axis scale is logaritmic up to l=30 and linear for l>30. How can I achieve something like that in python using matplotlib?

Mohsen
  • 1,079
  • 2
  • 8
  • 23
AnOrAn
  • 103
  • 5
  • This looks like 4 subplots very close together, where the joint y-axis is removed with a lot of fiddling to get ticks, tick labels and limits exactly fit. Some [broken axis implementations](https://github.com/bendichter/brokenaxes) can be used as inspiration for the fiddling needed. – JohanC Apr 12 '20 at 13:11
  • 1
    With [this answer](https://stackoverflow.com/a/41126461/12046409) comes a complete implementation of a combined logarithmic and linear x-axis. This answers the question in the title. The two lower subplots can be created similarly. – JohanC Apr 12 '20 at 13:56
  • @JohanC It does, thank you. Sorry I didn't find it before typing my answer, thanks again. – AnOrAn Apr 12 '20 at 15:19

0 Answers0