I currently have this function on matploblib:
x = np.arange(0,31)
y = x/(30-x)
plt.plot(x,y)
plt.ylabel('some numbers')
axes = plt.gca()
axes.set_ylim([0,3])
axes.set_xlim([0,25])
plt.show()
However, I want to show only the numbers 3, 2 and 1/3 on the y axis and, corresponding to those numbers, 3T/4, 2T/3, T/4. Ideally, there would be a dashed line to indicate those points. (1/3, T/4), (2T/3, 2) and (3T/4, 3)
That is, I want to represent the equation X/(T-X), where T is a constant. Is that possible?