I want to draw parallel diagonal lines. The second diagonal line should be 5% below the first one and the third one should be 5% above the first one. I do not want to use the axis limits because my data is not stationary, it is volatile. So, I want to use actual limits. My code works fine and produces the output. Whether this is the correct approach or not I have no idea. I mean, 5% below 1200 is 1200*0.95 but how to get 5% below at close to the origin. In my code, I have used 50 by trial and error.
My code and output:
plt.plot([0,1200],[50,1200*1.05],'k--',linewidth=2)
plt.plot([0,1200],[0,1200],'k--',linewidth=2)
plt.plot([50,1200],[0,1200*0.95],'k--',linewidth=2)


print(1200+(1200*(5/100)))print(1200-(1200*(5/100)))for 5+% and 5-% .Hence consider x as your number i.e. 1200