from numpy import arange
%matplotlib inline
from matplotlib.pyplot import plot, subplot, title, xlabel, ylabel, show
#plot
lod=[0, 20, 40, 60, 80, 100, 160] #in micro meter
slong=[1.0, 0.95, 0.92, 0.89, 0.86, 0.83, 0.80]
lad=[0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100] #in micro meter
slat=[0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]
add=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
sang=[0, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, .12]
t=arange(0,201,20)
s1=arange(1.0,0.7,-0.03)
#subplot(131)
plot(t,s1)
title("Variation of Slong as a function of delta x (with deltay=fi and delta theta=fi) ")
xlabel("Longitudinal displacement delta x (micro meter)")
ylabel("Slong (normalised)")
show()
t1=arange(0,101,10)
s2=arange(1,-0.1,-0.1)
#subplot(132)
plot(t1,s2)##
title("Variation of Slat as a function of delta y (with deltax=fi and delta theta=fi) ")
xlabel("Lateral displacement delta y (micro meter)")
ylabel("Slat (normalised)")
show()
t2=arange(0,11,1)
s3=arange(1.0,0.7,-0.03)
#subplot(133)
plot(t2,s3)##
title("Variation of Sang as a function of delta theta (with deltax=fi and deltay=fi) ")
xlabel("Angular displacement delta theta (deg)")
ylabel("Sang (normalised)")
show()