diff --git a/hp4155/Documentation/Pulse.png b/hp4155/Documentation/Pulse.png new file mode 100644 index 0000000000000000000000000000000000000000..1361e5b24848e6da2f8649a3011c82eb9c8db4c7 Binary files /dev/null and b/hp4155/Documentation/Pulse.png differ diff --git a/hp4155/Documentation/VAR1 Plot.png b/hp4155/Documentation/VAR1 Plot.png new file mode 100644 index 0000000000000000000000000000000000000000..4b61e60918b6d9b68bdaffe6ba5aa1cca6c1ab77 Binary files /dev/null and b/hp4155/Documentation/VAR1 Plot.png differ diff --git a/hp4155/Documentation/VAR1 Plot.py b/hp4155/Documentation/VAR1 Plot.py new file mode 100644 index 0000000000000000000000000000000000000000..cfb1831cc01c1556b73c131d036e47a1540c30f4 --- /dev/null +++ b/hp4155/Documentation/VAR1 Plot.py @@ -0,0 +1,13 @@ +import matplotlib.pyplot as plt +import numpy as np + +x = np.arange(10) +y = x/10 + +plt.xticks([]) +plt.yticks([]) +plt.xlabel('time') +plt.ylabel('value') +plt.step(x,y,where='post') +plt.title('How VAR1 works') +plt.show() \ No newline at end of file diff --git a/hp4155/Documentation/VAR2 plot.png b/hp4155/Documentation/VAR2 plot.png new file mode 100644 index 0000000000000000000000000000000000000000..7aff85ebc9e1a4680ff07e145eed1d1cd10a21d1 Binary files /dev/null and b/hp4155/Documentation/VAR2 plot.png differ diff --git a/hp4155/Documentation/VAR2 plot.py b/hp4155/Documentation/VAR2 plot.py new file mode 100644 index 0000000000000000000000000000000000000000..1d07b7bf5ded9cf0dbad75887774c9a43d89c640 --- /dev/null +++ b/hp4155/Documentation/VAR2 plot.py @@ -0,0 +1,21 @@ +import matplotlib.pyplot as plt +import numpy as np + +x = np.arange(1,21) + +y1 = np.array([1,2,3,4,5]) +y1 = np.tile(y1,4) +y2 = np.array([10,12,14,16]) +y2 = np.repeat(y2, 5) + +plt.step(x,y1, where='post',label ='VAR1') +plt.step(x,y2,where = 'post',label = 'VAR2') + +plt.xticks([]) +plt.yticks([]) + +plt.xlabel('time') +plt.ylabel('value') +plt.legend() +plt.title("How VAR2 Works") +plt.show() \ No newline at end of file diff --git a/hp4155/Documentation/VARD Plot.png b/hp4155/Documentation/VARD Plot.png new file mode 100644 index 0000000000000000000000000000000000000000..a042cc965d2441a35d5bee1d41d159c57f27c1e3 Binary files /dev/null and b/hp4155/Documentation/VARD Plot.png differ diff --git a/hp4155/Documentation/VARD Plot.py b/hp4155/Documentation/VARD Plot.py new file mode 100644 index 0000000000000000000000000000000000000000..19b3fed35209bd8405ca24877aa1c0cb30d620dd --- /dev/null +++ b/hp4155/Documentation/VARD Plot.py @@ -0,0 +1,18 @@ +import matplotlib.pyplot as plt +import numpy as np +x = np.arange(1,6) + +y1 = x +y2 = 3*y1+1 + +plt.step(x,y1, where='post',label ='VAR1') +plt.step(x,y2,where = 'post',label = 'VARD') + +plt.xticks([]) +plt.yticks([]) + +plt.xlabel('time') +plt.ylabel('value') +plt.legend() +plt.title("How VARD Works") +plt.show() \ No newline at end of file