-1

I am attempting to plot a graph similar to the one attached below. The y-axis should be aligned and the x-axis scale and name should be same. Also, I want the dotted line as shown in the figure.

I tried combining two different graphs but that is certainly not a good way to solve this.

Image

Sorry for the poor quality picture but the important points are mentioned.

thechargedneutron
  • 802
  • 1
  • 9
  • 24

1 Answers1

-1

Look into the matplotlib docs. I think you might be looking to use plt.subplots with the sharex argument.

Sam
  • 4,000
  • 20
  • 27