I want to plot a velocity versus depth model using the given data.
import matplotlib.pyplot as plt
import numpy as np
depth=np.array((0.0,5.0,30.0,40.0,50.0))
velocity=np.array((5.5,6.5,6.8,9.0,10.0))
plt.plot(velocity,depth)
plt.show()
But this script doesnot give the plot as i expected I need something like