Skip to content

Instantly share code, notes, and snippets.

@Tunas1337
Last active March 24, 2022 16:33
Show Gist options
  • Save Tunas1337/14158ff170572aa4a7d6b8eccdc40bce to your computer and use it in GitHub Desktop.
Save Tunas1337/14158ff170572aa4a7d6b8eccdc40bce to your computer and use it in GitHub Desktop.
testscript.py
from math import *
from ulab import numpy as np
import matplotlib.pyplot as plt
print("Hello world!");
x = np.arange(0, 5, 0.1)
y = np.sin(x)
#x = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
#y = [1, 5, 2, 6, 78, 4, 7, 3, 6, 4, 11]
plt.plot(x,y)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment